Skip to content

Commit

Permalink
remove EventUpdateSignal resource in playback tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snendev committed Jan 17, 2024
1 parent 64b4646 commit 88c0350
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/input_playback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ fn playback_app(strategy: PlaybackStrategy) -> App {
InputPlugin,
InputPlaybackPlugin,
));

app.world
.remove_resource::<bevy::ecs::event::EventUpdateSignal>();
*app.world.resource_mut::<PlaybackStrategy>() = strategy;

app
Expand Down

0 comments on commit 88c0350

Please sign in to comment.