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:
parent
0189dbf916
commit
04c9c5ed48
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue