Change Clothe and RefuseCollector

This commit is contained in:
kookroach
2021-04-04 15:39:54 +02:00
parent b452293832
commit 589ca80356
2 changed files with 57 additions and 118 deletions

View File

@@ -177,7 +177,8 @@ export default function clotheShopList(globalData: IGlobalData) {
if (item.ComponentId == key) {
var txData = getClothingName(key, item.ClotheId, gender);
let clotheUpperMenu = new UIMenu(mp.game.ui.getLabelText(txData[0].data[0].GXT), " ", new Point(0, 0), bannerSprite.library, bannerSprite.texture);
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.Visible = false;
for (const x of txData) {
@@ -196,7 +197,6 @@ export default function clotheShopList(globalData: IGlobalData) {
cloth.push(item);
tx.push(x);
}
categoryMenu.AddItem(clotheUpperMenu);
}
}