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