Even more stuff

This commit is contained in:
AffectedArc07
2021-08-17 16:45:29 +01:00
parent ac6b9a4b10
commit bbbe8c1d45
2 changed files with 14 additions and 7 deletions
@@ -4,4 +4,11 @@
/datum/world_topic_handler/instance_announce/execute(list/input, key_valid)
var/msg = input["msg"]
to_chat(world, "<span class='boldannounce'>Attention:</span> [msg]")
if(input["repoll"]) // Repoll peers
UNTIL(!SSinstancing.check_running) // If we are running, wait
SSinstancing.check_peers(TRUE) // Manually check, with FORCE
UNTIL(!SSinstancing.check_running) // Wait for completion
// Now that we repolled, we can tell the playerbase
to_chat(world, "<center><span class='boldannounce'><big>Attention</big></span></center><hr>[msg]<hr>")
SEND_SOUND(world, sound('sound/misc/notice2.ogg')) // Same as captains priority announce