Skip to content

Commit a199ca4

Browse files
committed
Fix StructuralSparseSet.Clear
1 parent 719dff2 commit a199ca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Arch/Buffer/StructuralSparseSet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public bool Contains(int index)
103103
/// </summary>
104104
public void Clear()
105105
{
106-
Array.Fill(Entities, -1, 0, Size);
106+
Array.Fill(Entities, -1);
107107
Size = 0;
108108
}
109109
}

0 commit comments

Comments
 (0)