mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Makes various things return qdel hints on initialization (#26607)
* makes apcs destroy properly with a null area
* starts cleanup of initialize failures and hint returns
* Revert "makes apcs destroy properly with a null area"
This reverts commit 9a9175cd37.
* narsie returns qdel hint now
* make lightgeists clean up hud on destroy
* use the proper hud removal proc, but this still fails somehow. god help me.
* missed one
* Apply suggestions from code review
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: chuga-git <98280110+chuga-git@users.noreply.github.com>
---------
Signed-off-by: chuga-git <98280110+chuga-git@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
@@ -285,8 +285,13 @@
|
||||
. = ..()
|
||||
remove_verb(src, /mob/living/verb/pulled)
|
||||
remove_verb(src, /mob/verb/me_verb)
|
||||
var/datum/atom_hud/medsensor = GLOB.huds[DATA_HUD_MEDICAL_ADVANCED]
|
||||
medsensor.add_hud_to(src)
|
||||
var/datum/atom_hud/med_hud = GLOB.huds[DATA_HUD_MEDICAL_ADVANCED]
|
||||
med_hud.add_hud_to(src)
|
||||
|
||||
/mob/living/simple_animal/hostile/lightgeist/Destroy()
|
||||
var/datum/atom_hud/med_hud = GLOB.huds[DATA_HUD_MEDICAL_ADVANCED]
|
||||
med_hud.remove_hud_from(src)
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/hostile/lightgeist/AttackingTarget()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user