diff --git a/resource/zoneCreator/client.lua b/resource/zoneCreator/client.lua index 9e0e20e..227bc63 100644 --- a/resource/zoneCreator/client.lua +++ b/resource/zoneCreator/client.lua @@ -177,10 +177,10 @@ local function startCreator(arg) local center = vec(xCoord, yCoord) ---@type vector2[] points = { - center + vec((width * cosH + length * sinH), (length * cosH - width * sinH)), - center + vec(-(width * cosH - length * sinH), (length * cosH + width * sinH)), - center + vec(-(width * cosH + length * sinH), -(length * cosH - width * sinH)), - center + vec((width * cosH - length * sinH), -(length * cosH + width * sinH)), + center + vec((width * cosH + length * sinH), (length * cosH - width * sinH)) / 2, + center + vec(-(width * cosH - length * sinH), (length * cosH + width * sinH)) / 2, + center + vec(-(width * cosH + length * sinH), -(length * cosH - width * sinH)) / 2, + center + vec((width * cosH - length * sinH), -(length * cosH + width * sinH)) / 2, } drawLines()