mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Fix holopara action buttons remaining if your holopara gets gibbed (#29011)
* Fix incorporeal mobs getting sucked into the singularity * Correctly removes the guardian UI from summoner on death
This commit is contained in:
@@ -137,6 +137,7 @@
|
||||
return FALSE
|
||||
to_chat(summoner, "<span class='danger'>Your [name] died somehow!</span>")
|
||||
UnregisterSignal(summoner, COMSIG_LIVING_HEALTH_UPDATE)
|
||||
summoner.remove_guardian_actions()
|
||||
summoner.death()
|
||||
|
||||
|
||||
@@ -182,8 +183,10 @@
|
||||
|
||||
/mob/living/simple_animal/hostile/guardian/gib()
|
||||
if(summoner)
|
||||
summoner.remove_guardian_actions()
|
||||
to_chat(summoner, "<span class='danger'>Your [src] was blown up!</span>")
|
||||
summoner.Weaken(20 SECONDS)// your fermillier has died! ROLL FOR CON LOSS!
|
||||
UnregisterSignal(summoner, COMSIG_LIVING_HEALTH_UPDATE)
|
||||
ghostize()
|
||||
qdel(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user