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