Makes circles have a correct 360 degrees again (#24127)

* I can't even, thanks old bay

* I forgor this

* Update code/__HELPERS/type2type.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

---------

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
DGamerL
2024-02-09 14:09:11 +00:00
committed by GitHub
co-authored by Luc
parent 8d22e338e6
commit 159a2cfc60
+1 -1
View File
@@ -126,7 +126,7 @@
//Converts an angle (degrees) into an ss13 direction
/proc/angle2dir(degree)
degree = ((degree+22.5)%365)
degree = (degree + 22.5) % 360
if(degree < 45) return NORTH
if(degree < 90) return NORTHEAST
if(degree < 135) return EAST