Merge pull request #13496 from Detective-Google/deadchat-kablooey

allows players in deadchat to see explosions
This commit is contained in:
silicons
2020-10-06 17:05:06 -07:00
committed by GitHub
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@
if(log)
message_admins("EMP with power [power], max distance [max_distance] in area [epicenter.loc.name] ")
log_game("EMP with power [power], max distance [max_distance] in area [epicenter.loc.name] ")
deadchat_broadcast("<span class='deadsay bold'>EMP with power ([power]), max distance ([max_distance]) in [epicenter.loc.name]</span>", turf_target = epicenter)
if(power > 100)
new /obj/effect/temp_visual/emp/pulse(epicenter)