mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-16 21:22:40 +00:00
Add a 'Restarting world!' notice.
This commit is contained in:
@@ -267,6 +267,8 @@ var/global/datum/controller/subsystem/ticker/ticker
|
|||||||
to_world("<span class='notice'><b>An admin has delayed the round end.</b></span>")
|
to_world("<span class='notice'><b>An admin has delayed the round end.</b></span>")
|
||||||
end_game_state = END_GAME_DELAYED
|
end_game_state = END_GAME_DELAYED
|
||||||
else if(restart_timeleft <= 0)
|
else if(restart_timeleft <= 0)
|
||||||
|
to_world("<span class='warning'><b>Restarting world!</b></span>")
|
||||||
|
sleep(5)
|
||||||
world.Reboot()
|
world.Reboot()
|
||||||
else if (world.time - last_restart_notify >= 1 MINUTE)
|
else if (world.time - last_restart_notify >= 1 MINUTE)
|
||||||
to_world("<span class='notice'><b>Restarting in [round(restart_timeleft/600, 1)] minute\s.</b></span>")
|
to_world("<span class='notice'><b>Restarting in [round(restart_timeleft/600, 1)] minute\s.</b></span>")
|
||||||
|
|||||||
Reference in New Issue
Block a user