fixed update for regen and expand
This commit is contained in:
parent
22f59b059e
commit
00f75f2de6
@ -17,7 +17,7 @@ pub struct Plugin;
|
|||||||
impl bevy::prelude::Plugin for Plugin {
|
impl bevy::prelude::Plugin for Plugin {
|
||||||
fn build(&self, app: &mut App) {
|
fn build(&self, app: &mut App) {
|
||||||
app.add_systems(
|
app.add_systems(
|
||||||
Update,
|
FixedUpdate,
|
||||||
(
|
(
|
||||||
cells_regeneration.run_if(on_timer(Duration::from_secs(1))),
|
cells_regeneration.run_if(on_timer(Duration::from_secs(1))),
|
||||||
expand.run_if(on_timer(Duration::from_secs(1))),
|
expand.run_if(on_timer(Duration::from_secs(1))),
|
||||||
|
Loading…
Reference in New Issue
Block a user