summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ground.lua1
-rw-r--r--player.lua1
2 files changed, 2 insertions, 0 deletions
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)
diff --git a/player.lua b/player.lua
index c40f4fe..fcbe83f 100644
--- a/player.lua
+++ b/player.lua
@@ -189,6 +189,7 @@ function Player: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)