i love math

This commit is contained in:
kevinz000
2020-05-09 08:26:54 -07:00
parent b30dd2c1f2
commit 824d967241
+1 -1
View File
@@ -12,7 +12,7 @@
AM = target
tx += AM.step_x
ty += AM.step_y
return SIMPLIFY_DEGREES(arctan(tx - sx, ty - sy))
return SIMPLIFY_DEGREES(arctan(ty - sy, tx - sx))
/proc/Get_Angle(atom/movable/start,atom/movable/end)//For beams.
if(!start || !end)