Skip to content

Commit 699b28c

Browse files
authored
Update README.md
1 parent aadff0c commit 699b28c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class MoveSystem : ISystem
2020
public void Run()
2121
{
2222
// iterate sets of components.
23-
foreach(var (pos, vel) in World.Query<Position, Velocity>())
23+
foreach(var (pos, vel) in World.Query<Position, Velocity>().Build())
2424
{
2525
pos.X += vel.X;
2626
pos.Y += vel.Y;

0 commit comments

Comments
 (0)