Adds a config to optionally hard reboot DD (#33006)

This commit is contained in:
Jordan Brown
2017-11-24 05:53:08 -05:00
committed by CitadelStationBot
parent 9f7b3a11c3
commit dc0310eb5d
3 changed files with 35 additions and 0 deletions

View File

@@ -381,3 +381,7 @@ CONFIG_TWEAK(flag/ValidateAndSet(str_val))
. = ..()
if(. && Master.current_runlevel)
world.sleep_offline = !value
CONFIG_DEF(number/rounds_until_hard_restart)
value = -1
min_val = 0