diff options
author | Aki <nthirtyone@gmail.com> | 2017-08-01 04:27:22 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-08-01 04:27:22 +0200 |
commit | cfeab5b477697061d46a9298d4fa33b3263a7403 (patch) | |
tree | 544fb951b1aed983f020daa5317ada20c3dcf7ab /not | |
parent | a6810abd1c8cc9956cb4b8cc2f00258780eee3a8 (diff) | |
download | roflnauts-cfeab5b477697061d46a9298d4fa33b3263a7403.zip roflnauts-cfeab5b477697061d46a9298d4fa33b3263a7403.tar.gz roflnauts-cfeab5b477697061d46a9298d4fa33b3263a7403.tar.bz2 |
Ray now uses getScale directly
Diffstat (limited to 'not')
-rw-r--r-- | not/Ray.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Ray.lua b/not/Ray.lua index 8edf51f..16a9bee 100644 --- a/not/Ray.lua +++ b/not/Ray.lua @@ -13,7 +13,7 @@ function Ray:new (naut, world) self.naut = naut self.world = world -- Cavas, this is temporary, I believe. - local scale = self.world.camera.scale + local scale = getScale() local w, h = love.graphics.getWidth(), love.graphics.getHeight() self.canvas = love.graphics.newCanvas(w/scale, h/scale) end |