mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-04 13:23:54 -04:00
Added assemblages
This commit is contained in:
parent
11255fd722
commit
f7a394f057
12 changed files with 204 additions and 93 deletions
|
@ -36,7 +36,7 @@ end
|
|||
-- @return True if the entity is eligible, false otherwise
|
||||
function Pool:eligible(e)
|
||||
for _, component in ipairs(self.filter) do
|
||||
if not e.components[component] or e.removed[component] then
|
||||
if not e[component] or e.removed[component] then
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue