summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-08-01 04:27:22 +0200
committerAki <nthirtyone@gmail.com>2017-08-01 04:27:22 +0200
commitcfeab5b477697061d46a9298d4fa33b3263a7403 (patch)
tree544fb951b1aed983f020daa5317ada20c3dcf7ab /not
parenta6810abd1c8cc9956cb4b8cc2f00258780eee3a8 (diff)
downloadroflnauts-cfeab5b477697061d46a9298d4fa33b3263a7403.zip
roflnauts-cfeab5b477697061d46a9298d4fa33b3263a7403.tar.gz
roflnauts-cfeab5b477697061d46a9298d4fa33b3263a7403.tar.bz2
Ray now uses getScale directly
Diffstat (limited to 'not')
-rw-r--r--not/Ray.lua2
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