Converts more dir assignments to setDir (#40023)

This commit is contained in:
Emmett Gaines
2018-08-31 15:54:37 -04:00
committed by vuonojenmustaturska
parent 4c61996455
commit 451d35c9c9
12 changed files with 17 additions and 17 deletions

View File

@@ -246,7 +246,7 @@
if (do_after(user, GUILLOTINE_WRENCH_DELAY, target = src))
current_action = 0
default_unfasten_wrench(user, I, 0)
dir = SOUTH
setDir(SOUTH)
return TRUE
else
current_action = 0

View File

@@ -123,7 +123,7 @@ GLOBAL_LIST_EMPTY(bodycontainers) //Let them act as spawnpoints for revenants an
playsound(src.loc, 'sound/items/deconstruct.ogg', 50, 1)
playsound(src, 'sound/effects/roll.ogg', 5, 1)
var/turf/T = get_step(src, dir)
connected.dir=dir
connected.setDir(dir)
for(var/atom/movable/AM in src)
AM.forceMove(T)
update_icon()

View File

@@ -32,7 +32,7 @@
/obj/structure/windoor_assembly/New(loc, set_dir)
..()
if(set_dir)
dir = set_dir
setDir(set_dir)
ini_dir = dir
air_update_turf(1)