diff --git a/code/game/objects/items/devices/traitordevices.dm b/code/game/objects/items/devices/traitordevices.dm index 820f95ee092..ca9de14fe7c 100644 --- a/code/game/objects/items/devices/traitordevices.dm +++ b/code/game/objects/items/devices/traitordevices.dm @@ -273,20 +273,20 @@ effective or pretty fucking useless. /obj/item/teleporter/proc/dir_correction(mob/user) //Direction movement, screws with teleport distance and saving throw, and thus must be removed first var/temp_direction = user.dir switch(temp_direction) - if(NORTHEAST || SOUTHEAST) + if(NORTHEAST, SOUTHEAST) user.dir = EAST - if(NORTHWEST || SOUTHWEST) + if(NORTHWEST, SOUTHWEST) user.dir = WEST /obj/item/teleporter/proc/panic_teleport(mob/user, turf/destination, direction = NORTH) var/saving_throw switch(direction) - if(NORTH || SOUTH) + if(NORTH, SOUTH) if(prob(50)) saving_throw = EAST else saving_throw = WEST - if(EAST || WEST) + if(EAST, WEST) if(prob(50)) saving_throw = NORTH else