mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +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())
|
||||
{
|
||||
printf("ID_GAME_INVENTORY update only\n");
|
||||
getLocalPlayer()->updateInventory(true);
|
||||
getPlayerPacket(ID_GAME_INVENTORY)->Send(getLocalPlayer());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue