diff options
| -rw-r--r-- | players.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/players.lua b/players.lua index c7ea70d..25f206b 100644 --- a/players.lua +++ b/players.lua @@ -111,10 +111,12 @@ function addplayer(x, y, sprite, bulletsprite) --addcircle(player.x+3, player.y+4, rnd(1)+0.5, rnd(1)-0.5, 1.5, rnd(0.4), 12) --end addbullet(player.x+3, player.y, 2, 0, false, player.bulletsprite) - sfx(9) if player.shoot3 then addbullet(player.x+3, player.y+3, 2, 0.25, false, player.bulletsprite) addbullet(player.x+3, player.y-3, 2, -0.25, false, player.bulletsprite) + sfx(12) + else + sfx(9) end player.shootcooldown = player.shootspeed end |
