Skip to content

Commit

Permalink
Remove update player with id
Browse files Browse the repository at this point in the history
  • Loading branch information
matzesoft committed May 10, 2024
1 parent c786ea5 commit 1b2380d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion game/src/multiplayer_system/ghost_player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ fn move_player(
transform: &mut Mut<Transform>,
mut ghost_player: &mut &GhostPlayer,
) {
println!("Updating player with id: {}", ghost_player.id);
let server_velocity = player_velocities_server.get(&ghost_player.id).unwrap();
let server_transform = player_transforms_server.get(&ghost_player.id).unwrap();
ghost_velocity.linvel.x = server_velocity.x;
Expand Down

0 comments on commit 1b2380d

Please sign in to comment.