Skip to content

Commit

Permalink
Removed remaining warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanpoland committed Dec 12, 2024
1 parent 17d48f3 commit 9030827
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use horizon_logger::{HorizonLogger, log_info, log_debug, log_warn, log_error, lo

mod server;
mod splash;
mod collision;
//mod collision;

//------------------------------------------------------------------------------
// Global Logger Configuration
Expand Down
2 changes: 1 addition & 1 deletion server/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ fn on_connect(socket: SocketRef, Data(data): Data<serde_json::Value>) {
let player = horizon_data_types::Player::new(socket.clone(), Uuid::new_v4());

let target_thread = Arc::clone(&threads[threadid]);
target_thread.add_player(player.clone());
let _ = target_thread.add_player(player.clone());

#[allow(unused_variables)]
let player_arc: Arc<horizon_data_types::Player> = Arc::new(player);
Expand Down

0 comments on commit 9030827

Please sign in to comment.