From cfeab5b477697061d46a9298d4fa33b3263a7403 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 1 Aug 2017 04:27:22 +0200 Subject: Ray now uses getScale directly --- not/Ray.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'not') 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 -- cgit v1.1