Do: not change the sign of max_depth

This commit is contained in:
Coder12a 2019-05-06 12:30:44 -05:00
parent 1d57b3d0af
commit 5b4eee252f
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
factions_config = {}
local flip = tonumber(minetest.settings:get("protection_max_depth")) or 512
factions_config.protection_max_depth = -flip
factions_config.protection_max_depth = tonumber(minetest.settings:get("protection_max_depth")) or -512
factions_config.protection_max_height = tonumber(minetest.settings:get("protection_max_height")) or 10000
factions_config.power_per_parcel = tonumber(minetest.settings:get("power_per_parcel")) or 1
factions_config.power_per_death = tonumber(minetest.settings:get("power_per_death")) or 1