Also makes flipping tables block climbing.
This commit is contained in:
mwerezak
2014-11-01 21:38:04 -04:00
parent de41cfea4c
commit b2dc8f1142
2 changed files with 19 additions and 19 deletions
@@ -448,6 +448,7 @@
dir = direction
if(dir != NORTH)
layer = 5
climbable = 0 //flipping tables allows them to be used as makeshift barriers
flipped = 1
flags |= ON_BORDER
for(var/D in list(turn(direction, 90), turn(direction, -90)))
@@ -465,6 +466,7 @@
layer = initial(layer)
flipped = 0
climbable = initial(climbable)
flags &= ~ON_BORDER
for(var/D in list(turn(dir, 90), turn(dir, -90)))
var/obj/structure/table/T = locate() in get_step(src.loc,D)