diff --git a/rust/src/game_manager.rs b/rust/src/game_manager.rs index fd10ebd..2522285 100644 --- a/rust/src/game_manager.rs +++ b/rust/src/game_manager.rs @@ -210,7 +210,6 @@ pub struct Game { pub current_map: Option>, pub world_ball: Option>, - since_last_sync: f64, pub goals: HashMap, diff --git a/rust/src/game_settings.rs b/rust/src/game_settings.rs index c51e22d..f4ad595 100644 --- a/rust/src/game_settings.rs +++ b/rust/src/game_settings.rs @@ -1,7 +1,6 @@ use std::{ - collections::VecDeque, net::SocketAddr, - time::{Duration, Instant, SystemTime, UNIX_EPOCH}, + time::{Duration, SystemTime, UNIX_EPOCH}, }; use godot::{ diff --git a/rust/src/player/weapon.rs b/rust/src/player/weapon.rs index 2222665..f0e1ef1 100644 --- a/rust/src/player/weapon.rs +++ b/rust/src/player/weapon.rs @@ -7,9 +7,9 @@ use godot::{ use serde::{Deserialize, Serialize}; use crate::{ - game_manager::{Game, GameOption}, + game_manager::Game, net::util::{cast_ray, shotgun_ray}, - player::{DamageSource, IPlayer, ball::Ball, shootable::Shootable}, + player::{DamageSource, shootable::Shootable}, }; pub trait Weapon {