Skip to content

Commit

Permalink
Fixes Gate Icon Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
MemeSnorfer committed Jan 30, 2024
1 parent ffa2bc1 commit 05b681e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions code/game/objects/items/puzzle_pieces.dm
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,8 @@
playsound(src, close_sound, 30, FALSE)

/obj/machinery/door/keycard/gates/update_icon_state()
if(density)
icon_state = "closed"
return ..()
else
icon_state = "open"
return ..()
. = ..()
icon_state = density ? "closed" : "open"

/obj/machinery/door/keycard/gates/drakelair
puzzle_id = "drakelairkey"
Expand Down

0 comments on commit 05b681e

Please sign in to comment.