Merge pull request #4249 from Citadel-Station-13/upstream-merge-33308

[MIRROR] Fixes every config flag updating world.sleep_offline
This commit is contained in:
deathride58
2017-12-08 00:31:38 +00:00
committed by GitHub
@@ -377,7 +377,7 @@ CONFIG_TWEAK(number/mc_tick_rate/ValidateAndSet(str_val))
CONFIG_DEF(flag/resume_after_initializations)
CONFIG_TWEAK(flag/ValidateAndSet(str_val))
CONFIG_TWEAK(flag/resume_after_initializations/ValidateAndSet(str_val))
. = ..()
if(. && Master.current_runlevel)
world.sleep_offline = !value