Reorganize systems

This commit is contained in:
2023-03-18 18:14:08 +01:00
parent 18f55a9cce
commit e11ba22c93
5 changed files with 37 additions and 48 deletions

View File

@@ -61,7 +61,7 @@ pub(super) fn change_direction_system(
return;
}
}
commands.entity(snake).insert(NewDirection(new_direction));
audio.play(audio_assets.tick.clone());
}