mirror of
				https://github.com/Ukendio/jecs.git
				synced 2025-11-03 18:39:19 +00:00 
			
		
		
		
	return self in without
This commit is contained in:
		
							parent
							
								
									ddbfd6c383
								
							
						
					
					
						commit
						f6a734d02e
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -665,8 +665,8 @@ local EmptyQuery = {
 | 
				
			||||||
	__iter = iterNoop,
 | 
						__iter = iterNoop,
 | 
				
			||||||
	next = noop,
 | 
						next = noop,
 | 
				
			||||||
	replace = noop,
 | 
						replace = noop,
 | 
				
			||||||
	without = function()
 | 
						without = function(self)
 | 
				
			||||||
		return EmptyQuery
 | 
							return self
 | 
				
			||||||
	end
 | 
						end
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -835,7 +835,7 @@ local function preparedQuery(compatibleArchetypes: { Archetype },
 | 
				
			||||||
					for i = 1, queryLength do
 | 
										for i = 1, queryLength do
 | 
				
			||||||
						queryOutput[i] = columns[tr[i]][row]
 | 
											queryOutput[i] = columns[tr[i]][row]
 | 
				
			||||||
					end
 | 
										end
 | 
				
			||||||
					replace(row, columns, fn(unpack(queryOutput)))
 | 
										replaceColumns(row, columns, fn(unpack(queryOutput)))
 | 
				
			||||||
				end
 | 
									end
 | 
				
			||||||
			end
 | 
								end
 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue