mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 16:36:42 +00:00
Prevent inventory requests from making LocalPlayer send inventory twice
This commit is contained in:
parent
7fae28ce91
commit
80b40bfb70
1 changed files with 0 additions and 2 deletions
|
@ -291,9 +291,7 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
|
||||||
{
|
{
|
||||||
if (packet->length == myPacket->headerSize())
|
if (packet->length == myPacket->headerSize())
|
||||||
{
|
{
|
||||||
printf("ID_GAME_INVENTORY update only\n");
|
|
||||||
getLocalPlayer()->updateInventory(true);
|
getLocalPlayer()->updateInventory(true);
|
||||||
getPlayerPacket(ID_GAME_INVENTORY)->Send(getLocalPlayer());
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue