Avoid that the server replays states saved in the previous frame.
This commit is contained in:
parent
6cc795fc60
commit
a3b959cee9
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user