This commit is contained in:
kookroach
2021-04-04 16:22:17 +02:00
parent 39ca388150
commit 0df5f90a43

View File

@@ -172,7 +172,7 @@ export default function clotheShopList(globalData: IGlobalData) {
mainMenu.Item
// Fill it
let clotheUpperMenu;
for (const item of value) {
if (item.ComponentId == key) {
@@ -180,12 +180,13 @@ export default function clotheShopList(globalData: IGlobalData) {
mp.gui.chat.push('Key ' + key);
mp.gui.chat.push(item);
if (key === 11 || key === 4 || key === 6) {
categoryMenu.AddItem(new UIMenuItem(mp.game.ui.getLabelText(txData[0].data[0].GXT), ""));
let 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;
for (const x of txData) {
var itemDescription = (key === 11 ? mp.game.ui.getLabelText(x.undershirt[1].GXT) : " ");