Fixes full controller recovery not restoring appropriate runlevel

This commit is contained in:
Cyberboss
2017-05-23 09:33:24 -04:00
parent a5c2630940
commit 7590e0aa73
2 changed files with 10 additions and 1 deletions

View File

@@ -177,7 +177,8 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
to_chat(world, "<span class='boldannounce'>[msg]</span>")
log_world(msg)
SetRunLevel(1)
if (!current_runlevel)
SetRunLevel(1)
// Sort subsystems by display setting for easy access.
sortTim(subsystems, /proc/cmp_subsystem_display)