Merge pull request #33308 from tgstation/Cyberboss-patch-3

Fixes every config flag updating world.sleep_offline
This commit is contained in:
oranges
2017-12-07 11:25:51 +13:00
committed by CitadelStationBot
parent e7e9a4cc9b
commit 193879529c
@@ -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