Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaFire15 committed Jul 13, 2024
1 parent dfeb981 commit f3cbb6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nsv13/code/__HELPERS/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f3cbb6e

Please sign in to comment.