Fix warnings
This commit is contained in:
parent
5fa5b56e5a
commit
02c39f01dc
@ -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>,
|
||||||
|
|
||||||
|
|||||||
@ -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::{
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user