aboutsummaryrefslogtreecommitdiff
path: root/players.lua
diff options
context:
space:
mode:
Diffstat (limited to 'players.lua')
-rw-r--r--players.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/players.lua b/players.lua
index d87340c..0fcf2e7 100644
--- a/players.lua
+++ b/players.lua
@@ -104,7 +104,7 @@ function addplayer(x, y, sprite, bulletsprite)
end
player.particlecooldown = 0.1
end
- if player.health < 2 then
+ if player.health == 1 then
damagesmoke(player)
end