mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Fixed legcuffs checking for being handcuffed instead of legcuffed when put on
This commit is contained in:
@@ -265,7 +265,7 @@ var/last_chew = 0
|
|||||||
place_legcuffs(user, user)
|
place_legcuffs(user, user)
|
||||||
return
|
return
|
||||||
|
|
||||||
if(!C.handcuffed)
|
if(!C.legcuffed)
|
||||||
if (C == user)
|
if (C == user)
|
||||||
place_legcuffs(user, user)
|
place_legcuffs(user, user)
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -786,7 +786,7 @@ var/global/list/damage_icon_parts = list() //see UpdateDamageIcon()
|
|||||||
if(!legcuffed)
|
if(!legcuffed)
|
||||||
return //Not legcuffed, why bother.
|
return //Not legcuffed, why bother.
|
||||||
|
|
||||||
overlays_standing[LEGCUFF_LAYER] = handcuffed.make_worn_icon(body_type = species.get_bodytype(), slot_name = slot_legcuffed_str, default_icon = INV_LCUFF_DEF_ICON, default_layer = LEGCUFF_LAYER)
|
overlays_standing[LEGCUFF_LAYER] = legcuffed.make_worn_icon(body_type = species.get_bodytype(), slot_name = slot_legcuffed_str, default_icon = INV_LCUFF_DEF_ICON, default_layer = LEGCUFF_LAYER)
|
||||||
|
|
||||||
apply_layer(LEGCUFF_LAYER)
|
apply_layer(LEGCUFF_LAYER)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user