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

Commit

Permalink
Fixed Time in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alice-i-cecile committed Nov 21, 2023
1 parent ea0ce2a commit 9ce27ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emergence_lib/src/water/water_dynamics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ mod tests {

// Our key systems are run in the fixed update schedule.
// In order to ensure that the water table is updated in our tests, we must advance the fixed time.
let mut fixed_time = app.world.resource_mut::<FixedTime>();
let mut fixed_time = app.world.resource_mut::<Time<Fixed>>();
fixed_time.tick(scenario.simulated_duration);

app
Expand Down

0 comments on commit 9ce27ee

Please sign in to comment.