diff --git a/resource/zoneCreator/client.lua b/resource/zoneCreator/client.lua index 227bc6325..39c81c308 100644 --- a/resource/zoneCreator/client.lua +++ b/resource/zoneCreator/client.lua @@ -171,7 +171,7 @@ local function startCreator(arg) if zoneType == 'poly' then drawLines() elseif zoneType == 'box' then - local rad = math.rad(heading) + local rad = math.rad(-heading) local sinH = math.sin(rad) local cosH = math.cos(rad) local center = vec(xCoord, yCoord) @@ -248,17 +248,17 @@ local function startCreator(arg) change = true zCoord -= steps[1][step] elseif IsDisabledControlJustReleased(0, 38) then -- e - change = true - heading += steps[2][step] - if heading >= 360 then - heading -= 360 - end - elseif IsDisabledControlJustReleased(0, 44) then -- q change = true heading -= steps[2][step] if heading < 0 then heading += 360 end + elseif IsDisabledControlJustReleased(0, 44) then -- q + change = true + heading += steps[2][step] + if heading >= 360 then + heading -= 360 + end elseif IsDisabledControlJustReleased(0, 47) then -- g change = true if displayMode == #displayModes then