mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove warnings from client
This commit is contained in:
parent
edb01beb85
commit
fe0c7028e2
@ -85,7 +85,7 @@ impl Client {
|
|||||||
thread_pool.set_num_threads((thread_pool.max_count() - 1).max(1));
|
thread_pool.set_num_threads((thread_pool.max_count() - 1).max(1));
|
||||||
|
|
||||||
// Set client-only components
|
// Set client-only components
|
||||||
state
|
let _ = state
|
||||||
.ecs_mut()
|
.ecs_mut()
|
||||||
.write_storage()
|
.write_storage()
|
||||||
.insert(entity, comp::AnimationInfo::default());
|
.insert(entity, comp::AnimationInfo::default());
|
||||||
@ -394,7 +394,10 @@ impl Client {
|
|||||||
self.client_state = state;
|
self.client_state = state;
|
||||||
}
|
}
|
||||||
ServerMsg::StateAnswer(Err((error, state))) => {
|
ServerMsg::StateAnswer(Err((error, state))) => {
|
||||||
warn!("StateAnswer: {:?}", error);
|
warn!(
|
||||||
|
"StateAnswer: {:?}. Server thinks client is in state {:?}.",
|
||||||
|
error, state
|
||||||
|
);
|
||||||
}
|
}
|
||||||
ServerMsg::ForceState(state) => {
|
ServerMsg::ForceState(state) => {
|
||||||
self.client_state = state;
|
self.client_state = state;
|
||||||
|
Loading…
Reference in New Issue
Block a user