summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-08-01 04:30:14 +0200
committerAki <nthirtyone@gmail.com>2017-08-01 04:30:14 +0200
commited62b573417bdc85bec616f6016846b02de4c906 (patch)
treee45dac5cc6ce5265e3e3e2c914eb7cc92a820b8b
parentcfeab5b477697061d46a9298d4fa33b3263a7403 (diff)
downloadroflnauts-ed62b573417bdc85bec616f6016846b02de4c906.zip
roflnauts-ed62b573417bdc85bec616f6016846b02de4c906.tar.gz
roflnauts-ed62b573417bdc85bec616f6016846b02de4c906.tar.bz2
Fixed leftover from mass replace
-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(...)