From 3a37ed7b9be0078b3dcf252deca5b17fccb2a495 Mon Sep 17 00:00:00 2001 From: kookroach <62265045+kookroach@users.noreply.github.com> Date: Sun, 4 Apr 2021 16:29:13 +0200 Subject: [PATCH] fix fix --- ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts b/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts index 2b6d853c..063d1ac2 100644 --- a/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts +++ b/ReallifeGamemode.Client/Interaction/clothes/ClotheShop.ts @@ -181,7 +181,7 @@ export default function clotheShopList(globalData: IGlobalData) { mp.gui.chat.push('Key ' + key); mp.gui.chat.push(item); - if (txData[0].data == undefined) { + if (txData[0].data != undefined) { categoryMenu.AddItem(new UIMenuItem(mp.game.ui.getLabelText(txData[0].data[0].GXT), "")); clotheUpperMenu = new UIMenu(" ", mp.game.ui.getLabelText(txData[0].data[0].GXT), new Point(0, 0), bannerSprite.library, bannerSprite.texture); clotheUpperMenu.Visible = false;