mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
remove dbg statement
This commit is contained in:
parent
db256e5dda
commit
62a73e5c14
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user