diff --git a/nsv13/code/__HELPERS/misc.dm b/nsv13/code/__HELPERS/misc.dm index 652de5a93d2..f5c02e48521 100644 --- a/nsv13/code/__HELPERS/misc.dm +++ b/nsv13/code/__HELPERS/misc.dm @@ -14,7 +14,8 @@ ///Whether the angle is on the port or starboard side of the ship (facing north or south on the map) /proc/angle2dir_ship(angle) - if(0 < angle && angle < 180) + var/modulated_angle = (((angle % 360) + 360) % 360) + if(modulated_angle <= 180) return SOUTH else return NORTH