Skip to content

Commit

Permalink
more fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
snendev committed Mar 1, 2024
1 parent 5c7dd21 commit 2fd5667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/input_playback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! These are played back by emulating assorted Bevy input events.
use bevy::app::{App, AppExit, First, Plugin, Startup};
use bevy::app::{App, AppExit, First, Plugin};
use bevy::ecs::{prelude::*, system::SystemParam};
use bevy::input::gamepad::GamepadEvent;
use bevy::input::{
Expand Down Expand Up @@ -76,7 +76,7 @@ pub fn initiate_input_playback(
if let Some(event) = begin_capture_events.read().next() {
commands.init_resource::<TimestampedInputs>();
commands.init_resource::<PlaybackProgress>();
commands.insert_resource(event.playback_strategy.clone());
commands.insert_resource(event.playback_strategy);
let playback_path = PlaybackFilePath::new(&event.filepath);
if let Some(path) = playback_path.path() {
let file = File::open(path).unwrap();
Expand Down

0 comments on commit 2fd5667

Please sign in to comment.