enrage fixes (#30012)

This commit is contained in:
kyunkyunkyun
2025-08-12 15:54:32 +00:00
committed by GitHub
parent a5c2080c9d
commit 03ada8da33
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1039,8 +1039,9 @@
/datum/status_effect/bubblegum_curse/tick()
var/mob/living/simple_animal/hostile/megafauna/bubblegum/attacker = locateUID(source_UID)
if(!attacker || attacker.loc == null)
if(!attacker || attacker.loc == null || attacker.stat == DEAD)
qdel(src)
return
if(attacker.health <= attacker.maxHealth / 2)
owner.clear_fullscreen("Bubblegum")
owner.overlay_fullscreen("Bubblegum", /atom/movable/screen/fullscreen/stretch/fog, 2)