mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 06:34:45 +01:00
make hud permanent (#27992)
This commit is contained in:
@@ -342,11 +342,13 @@
|
||||
ADD_TRAIT(owner, TRAIT_PACIFISM, "hippocraticOath")
|
||||
var/datum/atom_hud/H = GLOB.huds[DATA_HUD_MEDICAL_ADVANCED]
|
||||
H.add_hud_to(owner)
|
||||
owner.permanent_huds |= H
|
||||
return ..()
|
||||
|
||||
/datum/status_effect/hippocratic_oath/on_remove()
|
||||
REMOVE_TRAIT(owner, TRAIT_PACIFISM, "hippocraticOath")
|
||||
var/datum/atom_hud/H = GLOB.huds[DATA_HUD_MEDICAL_ADVANCED]
|
||||
owner.permanent_huds ^= H
|
||||
H.remove_hud_from(owner)
|
||||
|
||||
/datum/status_effect/hippocratic_oath/tick()
|
||||
|
||||
Reference in New Issue
Block a user