aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/movement/src/lib.rs4
-rw-r--r--src/main.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/movement/src/lib.rs b/plugins/movement/src/lib.rs
index d279d3b..626bb5a 100644
--- a/plugins/movement/src/lib.rs
+++ b/plugins/movement/src/lib.rs
@@ -28,9 +28,9 @@ import!(reducer);
/// Cigarette Hacker movement plugin
///
/// Used to describe the movement of characters in the game
-pub struct CHMovementPlugins;
+pub struct CHMovementPlugin;
-impl Plugin for CHMovementPlugins {
+impl Plugin for CHMovementPlugin {
fn build(&self, app: &mut bevy::app::App) {
app.add_systems(FixedUpdate, update_movement);
}
diff --git a/src/main.rs b/src/main.rs
index 79b464e..4906590 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -8,6 +8,6 @@ use bevy::prelude::*;
fn main() {
let mut app = App::new();
app.add_plugins(DefaultPlugins);
- app.add_plugins(ch_movement::CHMovementPlugins);
+ app.add_plugins(ch_movement::CHMovementPlugin);
app.run();
}