mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 16:45:17 -04:00
[Client] Ensure uninitialization of DedicatedActors for late packets
This commit is contained in:
parent
1ae5bd19e1
commit
bea3afaec8
@ -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…
x
Reference in New Issue
Block a user