diff --git a/main.lua b/main.lua index 6414ff4..718c23f 100644 --- a/main.lua +++ b/main.lua @@ -167,8 +167,8 @@ end function pushRotateScale(x, y, r, sx, sy) love.graphics.push() love.graphics.translate(x, y) - love.graphics.rotate(r or 0) - love.graphics.scale(sx or 1, sy or sx or 1) + if r then love.graphics.rotate(r) end + if sx then love.graphics.scale(sx, sy or sx or 1) end love.graphics.translate(-x, -y) end