Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
Add system ordering to structure systems (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
alice-i-cecile authored Nov 6, 2022
1 parent 8e3cbca commit 40c5445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emergence_lib/src/organisms/structures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ pub struct StructuresPlugin;
impl Plugin for StructuresPlugin {
fn build(&self, app: &mut App) {
app.add_system(photosynthesize)
.add_system(upkeep)
.add_system(cleanup);
.add_system(upkeep.after(photosynthesize))
.add_system(cleanup.after(upkeep));
}
}

Expand Down

0 comments on commit 40c5445

Please sign in to comment.