mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 16:11:37 -04:00
[Server] Refresh cellActorList's count after removing Actors from it
This commit is contained in:
parent
cad3eb8968
commit
377aa9b6c9
@ -151,6 +151,8 @@ void Cell::removeActors(const mwmp::BaseActorList *newActorList)
|
|||||||
if (!foundActor)
|
if (!foundActor)
|
||||||
it++;
|
it++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cellActorList.count = cellActorList.baseActors.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
mwmp::BaseActorList *Cell::getActorList()
|
mwmp::BaseActorList *Cell::getActorList()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user