aboutsummaryrefslogtreecommitdiff
path: root/bullets.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bullets.lua')
-rw-r--r--bullets.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/bullets.lua b/bullets.lua
index 5d050a2..6686a7e 100644
--- a/bullets.lua
+++ b/bullets.lua
@@ -128,7 +128,7 @@ function addmissile(x, y, target) --basic small weak enemy
}
function enemy.draw()
- if enemy.inv < 0 or ceil(enemy.inv*10%2) == 1 then
+ if enemy.inv < 0 or flashtime then
spr(12, enemy.x, enemy.y, 2, 1)
end
end