diff --git a/updatedshmup.p8 b/updatedshmup.p8 index a02d762..689e64b 100644 --- a/updatedshmup.p8 +++ b/updatedshmup.p8 @@ -187,7 +187,7 @@ function updategame() local pbox, pded = hurtbox(ps), false eships:strip( function(es) - if (~collides(pbox, hurtbox(es))) return + if (not collides(pbox, hurtbox(es))) return pded = pded or ps:hitship(es) return es:hitship(ps) end @@ -200,7 +200,7 @@ function updategame() local pbox, pded = hurtbox(ps), false ebullets:strip( function(eb) - if (~collides(pbox, hurtbox(eb))) return + if (not collides(pbox, hurtbox(eb))) return pded = pded or ps:hitbullet(eb) return eb:hitship(ps) end