Avoid that the server replays states saved in the previous frame.

This commit is contained in:
hiker 2017-01-30 08:58:00 +11:00
parent 6cc795fc60
commit a3b959cee9

View File

@ -255,7 +255,7 @@ void RewindManager::playEventsTill(float time)
if(ri->isEvent())
ri->rewind();
else if (ri->isState())
else if (ri->isState() && NetworkConfig::get()->isClient())
{
Log::warn("RewindManager",
"Client has received state in the future: at %f state %f",