From 660720bbd4a9a483de743e9ef8dfb42881e0a1eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Sun, 10 Nov 2019 14:56:38 +0100 Subject: [PATCH] Spawn player in middle of screen --- objects.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects.lua b/objects.lua index 0d559b2..a937e05 100644 --- a/objects.lua +++ b/objects.lua @@ -75,7 +75,7 @@ end -- Creation functions function init_objects() - player = spawn("player", {x = 60, height = 80}) + player = spawn("player", {}) curr_damage = 1 enemies = {}