From 56bf9dec70616075b009a244b21afba6ed29b429 Mon Sep 17 00:00:00 2001 From: KanohaShinobi <36253001+KanohaShinobi@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:39:12 -0600 Subject: [PATCH] Revert "artillery coordinate fix" --- code/modules/1713/siege/piece.dm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/code/modules/1713/siege/piece.dm b/code/modules/1713/siege/piece.dm index 39b35ced53..81296bfb2a 100644 --- a/code/modules/1713/siege/piece.dm +++ b/code/modules/1713/siege/piece.dm @@ -392,7 +392,7 @@ distance = max_distance if (href_list["set_degree"]) - degree = input(user, "Set the Degree to what? (From [0] to [359] degrees - E = 270, N = 0, W = 90, S = 180)") as num + degree = input(user, "Set the Degree to what? (From [0] to [359] degrees - E = 0, N = 90, W = 180, S = 270)") as num if(degree < 0) degree += 360 if(degree >= 360) @@ -416,19 +416,19 @@ if(degree >= 360) degree -= 360 - // 360 = 0 north - // 90 west - // 180 south - // 270 east + // 90 north + // 180 west + // 270 south + // 360 = 0 east target_coords() update_scope() - if(degree >= 315 && degree < 45) + if(degree >= 45 && degree < 135) dir = NORTH - else if(degree >= 45 && degree < 135) - dir = WEST else if(degree >= 135 && degree < 225) + dir = WEST + else if(degree >= 225 && degree < 315) dir = SOUTH else dir = EAST