mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Fixes UI glitch when losing cuffs from fractures, resisting, or cult magic
Conflicts: code/modules/mob/living/living.dm
This commit is contained in:
committed by
ZomgPonies
parent
55ba32d02d
commit
b6905e6668
@@ -613,18 +613,14 @@ This function completely restores a damaged organ to perfect condition.
|
||||
"\The [owner.handcuffed.name] falls off of [owner.name].",\
|
||||
"\The [owner.handcuffed.name] falls off you.")
|
||||
|
||||
owner.handcuffed.loc = owner.loc
|
||||
owner.handcuffed = null
|
||||
owner.update_inv_handcuffed()
|
||||
owner.drop_from_inventory(owner.handcuffed)
|
||||
|
||||
if (owner.legcuffed && body_part in list(FOOT_LEFT, FOOT_RIGHT, LEG_LEFT, LEG_RIGHT))
|
||||
owner.visible_message(\
|
||||
"\The [owner.legcuffed.name] falls off of [owner.name].",\
|
||||
"\The [owner.legcuffed.name] falls off you.")
|
||||
|
||||
owner.legcuffed.loc = owner.loc
|
||||
owner.legcuffed = null
|
||||
owner.update_inv_legcuffed()
|
||||
owner.drop_from_inventory(owner.legcuffed)
|
||||
|
||||
/datum/organ/external/proc/bandage()
|
||||
var/rval = 0
|
||||
|
||||
Reference in New Issue
Block a user