Debug Msg

This commit is contained in:
kookroach
2021-04-04 16:28:47 +02:00
parent 0df5f90a43
commit 0af43fb32b

View File

@@ -180,8 +180,8 @@ export default function clotheShopList(globalData: IGlobalData) {
mp.gui.chat.push('Key ' + key); mp.gui.chat.push('Key ' + key);
mp.gui.chat.push(item); mp.gui.chat.push(item);
if (key === 11 || key === 4 || key === 6) { if (txData[0].data == undefined) {
categoryMenu.AddItem(new UIMenuItem(mp.game.ui.getLabelText(txData[0].data[0].GXT), "")); 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 = new UIMenu(" ", mp.game.ui.getLabelText(txData[0].data[0].GXT), new Point(0, 0), bannerSprite.library, bannerSprite.texture);
clotheUpperMenu.Visible = false; clotheUpperMenu.Visible = false;