Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Contrabang authored Dec 15, 2024
1 parent 0e76574 commit 01bbcf2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions code/_onclick/hud/screen_objects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,6 @@

/atom/movable/screen/inventory/hand/update_overlays()
. = ..()
if(!active_overlay)
active_overlay = image("icon"=icon, "icon_state"="hand_active")
if(!handcuff_overlay)
var/state = (slot_id == ITEM_SLOT_RIGHT_HAND) ? "markus" : "gabrielle"
handcuff_overlay = image("icon"='icons/mob/screen_gen.dmi', "icon_state"=state)
Expand All @@ -475,9 +473,9 @@
. += blocked_overlay

if(slot_id == ITEM_SLOT_LEFT_HAND && hud.mymob.hand)
. += active_overlay
. += "hand_active"
else if(slot_id == ITEM_SLOT_RIGHT_HAND && !hud.mymob.hand)
. += active_overlay
. += "hand_active"

/atom/movable/screen/inventory/hand/Click()
// At this point in client Click() code we have passed the 1/10 sec check and little else
Expand Down

0 comments on commit 01bbcf2

Please sign in to comment.