Skip to content

Commit 6875b65

Browse files
committed
updated worlds api used
1 parent bed755b commit 6875b65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Systems/ShaderImportSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void IListener<DataUpdate>.Receive(ref DataUpdate message)
4747
for (int c = 0; c < chunks.Length; c++)
4848
{
4949
Chunk chunk = chunks[c];
50-
if (chunk.Definition.ContainsComponent(requestType))
50+
if (chunk.componentTypes.Contains(requestType))
5151
{
5252
ReadOnlySpan<uint> entities = chunk.Entities;
5353
ComponentEnumerator<IsShaderRequest> components = chunk.GetComponents<IsShaderRequest>(requestType);

0 commit comments

Comments
 (0)