This commit is contained in:
kookroach
2021-04-04 19:12:55 +02:00
parent 94270399ba
commit 066c47d209

View File

@@ -183,8 +183,7 @@ export default function clotheShopList(globalData: IGlobalData) {
var txData = getClothingName(key, item.ClotheId, gender);
mp.gui.chat.push('Key ' + key);
mp.gui.chat.push(item);
if (txData != undefined && txData.length > 0) {
categoryMenu.AddItem(new UIMenuItem(mp.game.ui.getLabelText(txData[0].data[0].GXT), ""));
@@ -419,7 +418,7 @@ export default function clotheShopList(globalData: IGlobalData) {
nextMenu.Visible = true;
menuTransition = true;
submenuItemChangeHandler(nextMenu.menu.CurrentSelection);
// submenuItemChangeHandler(nextMenu.menu.CurrentSelection);
});
mainMenu.MenuClose.on(() => {
@@ -449,7 +448,7 @@ export default function clotheShopList(globalData: IGlobalData) {
nextMenu.menu.Visible = true;
menuTransition = true;
//submenuItemChangeHandler(nextMenu.menu.CurrentSelection);
submenuItemChangeHandler(nextMenu.menu.CurrentSelection);
});
categoryMenu.MenuClose.on(() => {