Wallrot runtime fix (#16458)

* Atomization

* Changelog

---------

Co-authored-by: FluffyGhost <FluffyGhost>
This commit is contained in:
Fluffy
2023-06-17 22:04:55 +02:00
committed by GitHub
parent 13bfb6921c
commit fb8d2ca917
2 changed files with 43 additions and 1 deletions
+2 -1
View File
@@ -6,7 +6,8 @@
endWhen = announceWhen + 1
/datum/event/wallrot/announce()
command_announcement.Announce("Harmful fungi detected at coordinates ([origin_turf.x], [origin_turf.y], [origin_turf.z]). The structure may be contaminated.", "Biohazard Alert", new_sound = 'sound/AI/fungi.ogg', zlevels = affecting_z)
if(origin_turf)
command_announcement.Announce("Harmful fungi detected at coordinates ([origin_turf.x], [origin_turf.y], [origin_turf.z]). The structure may be contaminated.", "Biohazard Alert", new_sound = 'sound/AI/fungi.ogg', zlevels = affecting_z)
/datum/event/wallrot/start()
set waitfor = FALSE