mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user