aboutsummaryrefslogtreecommitdiff
path: root/serialize_lib/atomic.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-05-03 22:06:02 +0200
committerorwell96 <orwell@bleipb.de>2021-05-03 22:06:02 +0200
commit81cd305aa04f7af0bd812c5addb8673d5d633b44 (patch)
treeace239d39dcdbb1c51b175e5a2fb7c9ff9d1b4e0 /serialize_lib/atomic.lua
parent5aa700c3ab14434e36cabb2ba7c9f053e52730cc (diff)
parentd4593491efbcab47efd918d7918b97b4621828b3 (diff)
downloadadvtrains-81cd305aa04f7af0bd812c5addb8673d5d633b44.tar.gz
advtrains-81cd305aa04f7af0bd812c5addb8673d5d633b44.tar.bz2
advtrains-81cd305aa04f7af0bd812c5addb8673d5d633b44.zip
Merge commit 'd4593491efbcab47efd918d7918b97b4621828b3'
Diffstat (limited to 'serialize_lib/atomic.lua')
-rw-r--r--serialize_lib/atomic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize_lib/atomic.lua b/serialize_lib/atomic.lua
index 4a48c27..886b6a4 100644
--- a/serialize_lib/atomic.lua
+++ b/serialize_lib/atomic.lua
@@ -107,7 +107,7 @@ function serialize_lib.load_atomic(filename, callback)
end
end
- if minetest.settings:get_bool("serialize_lib_strict_loading") then
+ if minetest.settings:get_bool("serialize_lib_strict_loading", true) then
serialize_lib.save_lock = true
error("Loading data from file '"..filename.."' failed:\n"
..ret.."\nDisable Strict Loading to ignore.")