From c01256d9c88b625b897eacfc51bb49e352edc04c Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Thu, 28 May 2020 12:58:02 -0400 Subject: [PATCH] Rerererere --- tests/DMAPI/LongRunning/Test.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/DMAPI/LongRunning/Test.dm b/tests/DMAPI/LongRunning/Test.dm index 125c749788..f87eee7824 100644 --- a/tests/DMAPI/LongRunning/Test.dm +++ b/tests/DMAPI/LongRunning/Test.dm @@ -14,6 +14,7 @@ sleep(60) world.TgsChatBroadcast("World Initialized") world.TgsInitializationComplete() + world.sleep_offline = FALSE /world/Topic(T, Addr, Master, Keys) log << "Topic: [T]" @@ -38,11 +39,13 @@ /world/Reboot(reason) world.sleep_offline = FALSE TgsChatBroadcast("World Rebooting") + world.sleep_offline = FALSE TgsReboot() /datum/tgs_event_handler/impl/HandleEvent(event_code, ...) set waitfor = FALSE + world.sleep_offline = FALSE world.TgsChatBroadcast("Recieved event: [json_encode(args)]") /world/Export(url) @@ -54,6 +57,7 @@ world.sleep_offline = FALSE world.TgsChatBroadcast("Rebooting after 3 seconds"); world.log << "About to sleep. sleep_offline: [world.sleep_offline]" + world.sleep_offline = FALSE sleep(30) world.log << "Done sleep, calling Reboot" world.Reboot()