From cc6312dbeaaa16bea9819e27e85b93a00b92c6e0 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 15 May 2016 22:41:50 +0200 Subject: Default scale in draw --- ground.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'ground.lua') diff --git a/ground.lua b/ground.lua index d5fd46e..db3d090 100644 --- a/ground.lua +++ b/ground.lua @@ -31,6 +31,7 @@ function Ground:draw (offset_x, offset_y, scale, debug) -- defaults local offset_x = offset_x or 0 local offset_y = offset_y or 0 + local scale = scale or 1 local debug = debug or false -- sprite draw love.graphics.setColor(255,255,255,255) -- cgit v1.1