diff options
Diffstat (limited to 'bullets.lua')
| -rw-r--r-- | bullets.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bullets.lua b/bullets.lua index ffb7fb9..2884621 100644 --- a/bullets.lua +++ b/bullets.lua @@ -39,7 +39,7 @@ function addbullet(x, y, velx, vely, good, sprite) end --delete bullet if off screen - if y > 128 or y < -8 or x > 128 or x < -8 or despawnallbullets then + if y > 128 or y < -8 or x > 128 or x < -8 or (despawnallbullets and not good) then del(obj, bullet) end end |
