fixed update for regen and expand

This commit is contained in:
Arkitu 2025-06-12 15:07:16 +02:00
parent 22f59b059e
commit 00f75f2de6

View File

@ -17,7 +17,7 @@ pub struct Plugin;
impl bevy::prelude::Plugin for Plugin {
fn build(&self, app: &mut App) {
app.add_systems(
Update,
FixedUpdate,
(
cells_regeneration.run_if(on_timer(Duration::from_secs(1))),
expand.run_if(on_timer(Duration::from_secs(1))),