fix
This commit is contained in:
@@ -172,7 +172,7 @@ export default function clotheShopList(globalData: IGlobalData) {
|
|||||||
mainMenu.Item
|
mainMenu.Item
|
||||||
|
|
||||||
// Fill it
|
// Fill it
|
||||||
|
let clotheUpperMenu;
|
||||||
for (const item of value) {
|
for (const item of value) {
|
||||||
if (item.ComponentId == key) {
|
if (item.ComponentId == key) {
|
||||||
|
|
||||||
@@ -180,12 +180,13 @@ 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 (key === 11 || key === 4 || key === 6) {
|
||||||
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), ""));
|
||||||
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) {
|
for (const x of txData) {
|
||||||
var itemDescription = (key === 11 ? mp.game.ui.getLabelText(x.undershirt[1].GXT) : " ");
|
var itemDescription = (key === 11 ? mp.game.ui.getLabelText(x.undershirt[1].GXT) : " ");
|
||||||
|
|||||||
Reference in New Issue
Block a user