From 529df3b813cf08a557a416e656f3987d348aa2ef Mon Sep 17 00:00:00 2001 From: VegaZ Date: Sat, 11 May 2019 22:44:52 +0200 Subject: [PATCH] Fix infinite sync --- ReallifeGamemode.Client/Gui/Inventory/inventory.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ReallifeGamemode.Client/Gui/Inventory/inventory.ts b/ReallifeGamemode.Client/Gui/Inventory/inventory.ts index 2a4400b8..601e73e0 100644 --- a/ReallifeGamemode.Client/Gui/Inventory/inventory.ts +++ b/ReallifeGamemode.Client/Gui/Inventory/inventory.ts @@ -102,6 +102,7 @@ export default function inventory(globalData: GlobalData) { mp.gui.chat.activate(true); mp.gui.cursor.show(false, false); show = false; + syncCount++; mp.game.graphics.setStreamedTextureDictAsNoLongerNeeded("itemimages"); inventoryWeight = 0; items = null;