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

pull/176/merge
David Cernat 8 years ago
parent 217894100a
commit e1ee4a4f49

@ -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…
Cancel
Save