oops, tilde only means "not" in "not equals"
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user