Don't try to compensate bad states

This commit is contained in:
timokoesters 2019-06-17 20:10:47 +02:00
parent 57894a0368
commit 9701a666d9
No known key found for this signature in database
GPG Key ID: CD80BE9AAEE78097

View File

@ -15,7 +15,7 @@ use common::{
terrain::{chonk::ChonkMetrics, TerrainChunk, TerrainChunkSize},
vol::VolSize,
};
use log::{debug, info, log_enabled};
use log::{info, log_enabled, warn};
use std::{
collections::HashMap,
net::SocketAddr,
@ -371,8 +371,7 @@ impl Client {
self.client_state = state;
}
ServerMsg::StateAnswer(Err((error, state))) => {
debug!("{:?}", error);
self.client_state = state;
warn!("{:?}", error);
}
ServerMsg::ForceState(state) => {
self.client_state = state;