forked from mirror/openmw-tes3mp
[Server] Store data from ActorStatsDynamic in the ActorLists of Cells
This commit is contained in:
parent
217894100a
commit
e1ee4a4f49
1 changed files with 3 additions and 2 deletions
|
@ -19,9 +19,10 @@ namespace mwmp
|
|||
Cell *serverCell = CellController::get()->getCell(&actorList.cell);
|
||||
|
||||
if (serverCell != nullptr)
|
||||
{
|
||||
serverCell->readActorList(packetID, &actorList);
|
||||
serverCell->sendToLoaded(&packet, &actorList);
|
||||
|
||||
Script::Call<Script::CallbackIdentity("OnActorStatsDynamic")>(player.getId(), actorList.cell.getDescription().c_str());
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue