Adds a config option to change world.sleep_offline

This commit is contained in:
Jordan Brown
2017-11-09 01:44:49 -05:00
committed by CitadelStationBot
parent ea44e4a1d9
commit 146dfe33ea
3 changed files with 19 additions and 1 deletions

View File

@@ -372,3 +372,13 @@ CONFIG_TWEAK(number/mc_tick_rate/ValidateAndSet(str_val))
. = ..()
if (.)
Master.UpdateTickRate()
<<<<<<< HEAD
=======
CONFIG_DEF(flag/resume_after_initializations)
CONFIG_TWEAK(flag/ValidateAndSet(str_val))
. = ..()
if(. && Master.current_runlevel)
world.sleep_offline = !value
>>>>>>> 73fbac3... Adds a config option to change world.sleep_offline (#32505)