aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/forceloading.lua
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2019-08-06 19:30:18 +0100
committerGitHub <noreply@github.com>2019-08-06 19:30:18 +0100
commit8e757859d6a6bf6482480904e8485e9344e567ab (patch)
tree3304aa9393a753b85143389c6f6ffec990cfa12e /builtin/game/forceloading.lua
parent8da35c22d1c8933090330b2f3c44b4cf2c6e6760 (diff)
downloadminetest-8e757859d6a6bf6482480904e8485e9344e567ab.tar.gz
minetest-8e757859d6a6bf6482480904e8485e9344e567ab.tar.bz2
minetest-8e757859d6a6bf6482480904e8485e9344e567ab.zip
Add luacheck to check builtin (#7895)
Diffstat (limited to 'builtin/game/forceloading.lua')
-rw-r--r--builtin/game/forceloading.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/forceloading.lua b/builtin/game/forceloading.lua
index 5de4c3ad3..e1e00920c 100644
--- a/builtin/game/forceloading.lua
+++ b/builtin/game/forceloading.lua
@@ -111,7 +111,7 @@ end
-- periodical forceload persistence
local function periodically_persist_forceloaded_blocks()
-
+
-- only persist if the blocks actually changed
if forceload_blocks_changed then
persist_forceloaded_blocks()