I am baffled I never noticed this before
This commit is contained in:
parent
bd61ca2639
commit
5d2dafa64c
@ -75,7 +75,7 @@ function updategame()
|
||||
edeaths = {}
|
||||
for ip, ps in ipairs(pships) do
|
||||
for ie, eb in ipairs(ebullets) do
|
||||
if collides(hurtobx(ps), hurtbox(eb)) then
|
||||
if collides(hurtbox(ps), hurtbox(eb)) then
|
||||
if (eb:hitship(ps)) add(edeaths, ie)
|
||||
if ps:hitbullet(eb) then
|
||||
add(pdeaths, ip)
|
||||
|
Loading…
Reference in New Issue
Block a user