diff options
| author | Chris Bradley <1029chris@gmail.com> | 2022-02-19 16:29:52 -0800 |
|---|---|---|
| committer | Chris Bradley <1029chris@gmail.com> | 2022-02-19 16:29:52 -0800 |
| commit | 5bfa4bdc01f19c019e5a8b8e0ac10511d3beaef3 (patch) | |
| tree | c61ce9bb30aeb0f2771111af3c9e1b3b979a0fc7 /bullets.lua | |
| parent | 5ca492d316e5e37edb4054809ca3f18e055bd256 (diff) | |
Could you spare 6 tokens??
ALMOST DONE!!!!!!!!!! JUST NEED A COUPLE MORE TOKEEEEENSSS!!!!!!!!!!!!!!!!!!!!!!!
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 |
