[Server] Store data from ActorStatsDynamic in the ActorLists of Cells

This commit is contained in:
David Cernat 2017-05-01 00:53:08 +03:00
parent 217894100a
commit e1ee4a4f49

View file

@ -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());
}
}
};
}