aboutsummaryrefslogtreecommitdiff
path: root/players.lua
diff options
context:
space:
mode:
Diffstat (limited to 'players.lua')
-rw-r--r--players.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/players.lua b/players.lua
index 82c77ab..e13f2ce 100644
--- a/players.lua
+++ b/players.lua
@@ -68,11 +68,7 @@ function addplayer(x, y, sprite, bulletsprite)
addcircle(player.x+4, player.y+4, sin(i/8), cos(i/8), 2, 0.6, 7)
end
--normal and light respawn sfx for co-op
- if #players == 1 then
- sfx(27, 1)
- else
- sfx(28, 1)
- end
+ sfx(26+#players,1)
end
function player:update()