mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-28 09:09:39 +00:00
[Client] Ensure uninitialization of DedicatedActors for late packets
This commit is contained in:
parent
1ae5bd19e1
commit
bea3afaec8
1 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,11 @@ void Cell::updateDedicated(float dt)
|
|||
|
||||
actor->update(dt);
|
||||
}
|
||||
|
||||
// Are we the authority over this cell? If so, uninitialize DedicatedActors
|
||||
// after the above update
|
||||
if (hasLocalAuthority())
|
||||
uninitializeDedicatedActors();
|
||||
}
|
||||
|
||||
void Cell::readPositions(ActorList& actorList)
|
||||
|
|
Loading…
Reference in a new issue