Skip to content

Commit

Permalink
Fix Railings Having The Wrong Layer (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
RimiNosha authored Oct 29, 2024
1 parent 1dc7e62 commit 1c7c864
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/game/objects/structures/railings.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
AddElement(/datum/element/connect_loc, loc_connections)

AddComponent(/datum/component/simple_rotation, ROTATION_NEEDS_ROOM, CALLBACK(src, PROC_REF(on_rotation)))
on_rotation()

/obj/structure/railing/proc/on_rotation()
if((NORTH | SOUTH) & dir)
Expand Down

0 comments on commit 1c7c864

Please sign in to comment.