mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Merge pull request #13543 from SteelSlayer/princess-health-hud-fix
Terror queens that evolve from princesses will now be able to see their medhud properly
This commit is contained in:
@@ -38,9 +38,12 @@
|
||||
evolvequeen_action.Grant(src)
|
||||
|
||||
/mob/living/simple_animal/hostile/poison/terror_spider/princess/proc/evolve_to_queen()
|
||||
var/mob/living/simple_animal/hostile/poison/terror_spider/queen/Q = new /mob/living/simple_animal/hostile/poison/terror_spider/queen(loc)
|
||||
var/mob/living/simple_animal/hostile/poison/terror_spider/queen/Q = new(loc)
|
||||
if(mind)
|
||||
mind.transfer_to(Q)
|
||||
// Calling `transfer_to()` removes our new body (the Queen's) ability to see the med hud, so we have to re-add the queen here.
|
||||
var/datum/atom_hud/U = GLOB.huds[DATA_HUD_MEDICAL_ADVANCED]
|
||||
U.add_hud_to(Q)
|
||||
qdel(src)
|
||||
|
||||
/mob/living/simple_animal/hostile/poison/terror_spider/princess/DoWrap()
|
||||
|
||||
Reference in New Issue
Block a user