mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 14:37:04 +01:00
Fix for npc xeno screaming whilst dead
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
max_co2 = 0
|
||||
min_n2 = 0
|
||||
max_n2 = 0
|
||||
var/dead = 0
|
||||
unsuitable_atoms_damage = 15
|
||||
faction = list("alien")
|
||||
status_flags = CANPUSH
|
||||
@@ -92,5 +93,7 @@
|
||||
|
||||
/mob/living/simple_animal/hostile/alien/Die()
|
||||
..()
|
||||
visible_message("[src] lets out a waning guttural screech, green blood bubbling from its maw...")
|
||||
playsound(src, 'sound/voice/hiss6.ogg', 100, 1)
|
||||
if(dead == 0)
|
||||
dead = 1
|
||||
visible_message("[src] lets out a waning guttural screech, green blood bubbling from its maw...")
|
||||
playsound(src, 'sound/voice/hiss6.ogg', 100, 1)
|
||||
|
||||
Reference in New Issue
Block a user