Skip to content

Commit e413f46

Browse files
committed
correction
1 parent ad517e3 commit e413f46

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/tutorial.rbxl

-9 Bytes
Binary file not shown.

src/shared/ECS.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ end
746746
Checks whether this archetype has the informed component
747747
]]
748748
function Archetype:Has(component)
749-
return table.find(self.components, component) ~= nil
749+
return table.find(self.Components, component) ~= nil
750750
end
751751

752752
-- Generic archetype, for entities that do not have components
@@ -2302,7 +2302,7 @@ local function CreateNewWorld(systems, config)
23022302
end
23032303

23042304
-- Gets all the chunks that apply to this filter
2305-
local chunks = entityManager:filterChunks(filter.match)
2305+
local chunks = entityManager:FilterChunks(filter.Match)
23062306

23072307
for k, chunk in pairs(chunks) do
23082308
local buffers = chunk.Buffers

0 commit comments

Comments
 (0)