fix: add expected MovementModifiers to spawn_test_player to fix movement tests

This commit is contained in:
Ryan Walters
2025-08-28 18:35:37 -05:00
parent 2da8a312f3
commit 9bfe4a9ce7

View File

@@ -9,7 +9,7 @@ use pacman::{
},
systems::{
can_traverse, player_control_system, player_movement_system, AudioState, BufferedDirection, DebugState, DeltaTime,
EntityType, GlobalState, PlayerControlled, Position, Velocity,
EntityType, GlobalState, MovementModifiers, PlayerControlled, Position, Velocity,
},
};
@@ -49,6 +49,7 @@ fn spawn_test_player(world: &mut World) -> Entity {
},
BufferedDirection::None,
EntityType::Player,
MovementModifiers::default(),
))
.id()
}