Fix syntax error
This commit is contained in:
parent
23e8713b6d
commit
40ed85950b
@ -112,7 +112,7 @@ fn food_spawner(
|
||||
time: Res<Time>,
|
||||
mut timer: Local<FoodSpawnTimer>,
|
||||
) {
|
||||
if timer.0.tick(time.delta_seconds().finished()) {
|
||||
if timer.0.tick(time.delta_seconds()).finished() {
|
||||
commands
|
||||
.spawn(SpriteBundle {
|
||||
material: materials.food_material.clone(),
|
||||
|
Loading…
Reference in New Issue
Block a user