remove dbg statement

This commit is contained in:
crabman 2024-02-10 17:33:30 +01:00
parent db256e5dda
commit 62a73e5c14
No known key found for this signature in database
2 changed files with 0 additions and 4 deletions

View File

@ -2916,8 +2916,6 @@ impl Client {
&& self.state.get_program_time() - self.last_server_pong && self.state.get_program_time() - self.last_server_pong
> self.client_timeout.as_secs() as f64 > self.client_timeout.as_secs() as f64
{ {
dbg!(self.state.get_program_time());
dbg!(self.last_server_pong);
return Err(Error::ServerTimeout); return Err(Error::ServerTimeout);
} }

View File

@ -433,8 +433,6 @@ pub fn handle_create_teleporter(server: &mut Server, ev: CreateTeleporterEvent)
} }
pub fn handle_create_item_drop(server: &mut Server, ev: CreateItemDropEvent) { pub fn handle_create_item_drop(server: &mut Server, ev: CreateItemDropEvent) {
println!("Handle item drop event.");
dbg!(ev.vel);
server server
.state .state
.create_item_drop(ev.pos, ev.ori, ev.vel, ev.item, ev.loot_owner); .create_item_drop(ev.pos, ev.ori, ev.vel, ev.item, ev.loot_owner);