From 824d967241550aa519de5179538de2849b31b10b Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Sat, 9 May 2020 08:26:54 -0700 Subject: [PATCH] i love math --- code/__HELPERS/angles.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/__HELPERS/angles.dm b/code/__HELPERS/angles.dm index aa39ee4f6e..a3fc2404bd 100644 --- a/code/__HELPERS/angles.dm +++ b/code/__HELPERS/angles.dm @@ -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)