world/Reboot refactor (#15268)

* world/Reboot refactor

* Re adds noises

* Im being punished by my own CI!
This commit is contained in:
AffectedArc07
2021-01-15 18:03:08 +00:00
committed by GitHub
parent 56423a0049
commit 2f6b0a9a0f
7 changed files with 104 additions and 49 deletions
+2
View File
@@ -317,6 +317,8 @@
SSticker.delay_end = !SSticker.delay_end
log_admin("[key_name(usr)] [SSticker.delay_end ? "delayed the round end" : "has made the round end normally"].")
message_admins("<span class='notice'>[key_name_admin(usr)] [SSticker.delay_end ? "delayed the round end" : "has made the round end normally"].</span>", 1)
if(SSticker.delay_end)
SSticker.real_reboot_time = 0 // If they set this at round end, show the "Reboot was cancelled by an admin" message instantly
href_list["secretsadmin"] = "check_antagonist"
else if(href_list["simplemake"])