summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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