summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--not/Camera.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Camera.lua b/not/Camera.lua
index 01d5962..aa4df5b 100644
--- a/not/Camera.lua
+++ b/not/Camera.lua
@@ -61,7 +61,7 @@ end
function Camera:translatePosition (x, y)
local x = x or 0
local y = y or 0
- return (x-self.x)*getScale().scale, (y-self.y)*getScale()
+ return (x-self.x)*getScale(), (y-self.y)*getScale()
end
function Camera:translatePoints(...)