fixes the rest of the announcements

This commit is contained in:
Mosley
2024-11-27 15:45:34 -05:00
parent 100316ee26
commit 77cfbf8f7b
3 changed files with 66 additions and 2 deletions

View File

@@ -404,7 +404,7 @@ GLOBAL_LIST_EMPTY(cryopod_computers)
// Make an announcement and log the person entering storage.
if(GLOB.announcement_systems.len)
var/obj/machinery/announcement_system/announcer = pick(GLOB.announcement_systems)
announcer.announce(is_teleporter ? "CRYOSTORAGE_TELE" : "CRYOSTORAGE", mob_occupant.real_name, announce_rank, list())
announcer.announce(is_teleporter ? "CRYOSTORAGE_TELE" : "CRYOSTORAGE", mob_occupant.real_name, announce_rank, announce_rank, list())
if (pod)
pod.visible_message(span_notice("\The [pod] hums and hisses as it [is_teleporter ? "teleports" : "moves"] [mob_occupant.real_name] [is_teleporter ? "to centcom" : "into storage"]."))