Fix warnings

This commit is contained in:
Sofia 2026-07-25 21:20:59 +03:00
parent 5fa5b56e5a
commit 02c39f01dc
3 changed files with 3 additions and 5 deletions

View File

@ -210,7 +210,6 @@ pub struct Game {
pub current_map: Option<Gd<Map>>, pub current_map: Option<Gd<Map>>,
pub world_ball: Option<Gd<Ball>>, pub world_ball: Option<Gd<Ball>>,
since_last_sync: f64,
pub goals: HashMap<u8, u16>, pub goals: HashMap<u8, u16>,

View File

@ -1,7 +1,6 @@
use std::{ use std::{
collections::VecDeque,
net::SocketAddr, net::SocketAddr,
time::{Duration, Instant, SystemTime, UNIX_EPOCH}, time::{Duration, SystemTime, UNIX_EPOCH},
}; };
use godot::{ use godot::{

View File

@ -7,9 +7,9 @@ use godot::{
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use crate::{ use crate::{
game_manager::{Game, GameOption}, game_manager::Game,
net::util::{cast_ray, shotgun_ray}, net::util::{cast_ray, shotgun_ray},
player::{DamageSource, IPlayer, ball::Ball, shootable::Shootable}, player::{DamageSource, shootable::Shootable},
}; };
pub trait Weapon { pub trait Weapon {