Skip to content

Commit

Permalink
Hopefully fix SpawnEvent reader not being cleared on restart
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Dec 10, 2023
1 parent 6325737 commit 4421ffb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/simulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ impl Plugin for SimulationPlugin {
Update,
(
spawn_entities,
type_code_passively,
spawn_entities_passively,
handle_line_added_events,
(
type_code_passively,
spawn_entities_passively,
handle_line_added_events,
)
.run_if(in_state(AppState::EditorScreen)),
)
.run_if(in_state(AppState::EditorScreen))
.in_set(AppSet::Simulate),
);
}
Expand Down

0 comments on commit 4421ffb

Please sign in to comment.