diff options
| author | 1029chris <1029chris@gmail.com> | 2022-02-09 20:40:16 -0800 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2022-02-09 20:40:16 -0800 |
| commit | 0fa5fb690753ef6cbdb22795648a4373d1a0e18c (patch) | |
| tree | a2f1476b4c8ee793c8cfcb2fab18a819a309c6c1 /players.lua | |
| parent | 19a80ae48f1beec8b82f785d46a5b9015f9266c4 (diff) | |
respawn sound implemented, fixed dead players picking up pickups
Diffstat (limited to 'players.lua')
| -rw-r--r-- | players.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/players.lua b/players.lua index 25f206b..7b0d4b4 100644 --- a/players.lua +++ b/players.lua @@ -52,6 +52,7 @@ function addplayer(x, y, sprite, bulletsprite) for i = 1, #enemies, 1 do enemies[i].health = -1 end + sfx(29, 1) elseif player.health <= 0 then player.inv = 5 end |
