1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-29 17:06:43 +00:00

[General] Forward PlayerJournal packets to other players

This commit is contained in:
David Cernat 2017-05-18 12:57:48 +03:00
parent 0189dbf916
commit 04c9c5ed48
2 changed files with 2 additions and 2 deletions

View file

@ -22,6 +22,8 @@ namespace mwmp
{ {
DEBUG_PRINTF(strPacketID.c_str()); DEBUG_PRINTF(strPacketID.c_str());
packet.Send(true);
Script::Call<Script::CallbackIdentity("OnPlayerJournal")>(player.getId()); Script::Call<Script::CallbackIdentity("OnPlayerJournal")>(player.getId());
} }
}; };

View file

@ -20,8 +20,6 @@ namespace mwmp
virtual void Do(PlayerPacket &packet, BasePlayer *player) virtual void Do(PlayerPacket &packet, BasePlayer *player)
{ {
if (!isLocal()) return;
if (isRequest()) if (isRequest())
{ {
// Entire journal cannot currently be requested from players // Entire journal cannot currently be requested from players