Skip to content

Commit

Permalink
Update railing.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed Sep 25, 2023
1 parent 3d16c3d commit 6fb8611
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions monkestation/code/modules/aesthetics/objects/railing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,14 @@
check_neighbors(update_neighbors)
overlays.Cut()

var/turf/turf = get_turf(src)
if(dir == SOUTH)
layer = ABOVE_MOB_LAYER + 0.01

else if( dir != NORTH)
SET_PLANE(src, GAME_PLANE_FOV_HIDDEN, get_turf(src))
else if(dir != NORTH)
SET_PLANE(src, GAME_PLANE_FOV_HIDDEN, turf)
else
SET_PLANE(src, GAME_PLANE, get_turf(src))
SET_PLANE(src, GAME_PLANE, turf)
layer = initial(layer)

if(!neighbor_status || !anchored)
Expand Down

0 comments on commit 6fb8611

Please sign in to comment.