try change something at friseur
This commit is contained in:
@@ -88,12 +88,12 @@ export default function friseurShopList(globalData: IGlobalData) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
mainMenu.AddItem(new UIMenuItem(categoryTitles[type][key], `${type === "props" ? "Prop category." : "Clothing category."}`));
|
||||
mainMenu.AddItem(new UIMenuItem(categoryTitles[type][key]));
|
||||
// Create category menu
|
||||
categoryMenu = new UIMenu("", categoryTitles[type][key].toUpperCase(), new Point(0, 0), bannerSprite.library, bannerSprite.texture);
|
||||
categoryMenu.Visible = false;
|
||||
} else {
|
||||
mainMenu.AddItem(new UIMenuItem(categoryTitles[type][key], `${type === "props" ? "Prop category." : "Clothing category."}`));
|
||||
mainMenu.AddItem(new UIMenuItem(categoryTitles[type][key]));
|
||||
// Create category menu
|
||||
categoryMenu = new UIMenu("", categoryTitles[type][key].toUpperCase(), new Point(0, 0), bannerSprite.library, bannerSprite.texture);
|
||||
categoryMenu.Visible = false;
|
||||
@@ -116,7 +116,7 @@ export default function friseurShopList(globalData: IGlobalData) {
|
||||
if (itemDescription == "NULL") {
|
||||
itemDescription = "Clothing item.";
|
||||
}
|
||||
const tempItem = new UIMenuItem(mp.game.ui.getLabelText(x.data[0].GXT), itemDescription);
|
||||
const tempItem = new UIMenuItem(mp.game.ui.getLabelText(x.data[0].GXT));
|
||||
//const tempItem = new UIMenuItem(x.data[0].GXT + " - " + x.id, itemDescription);
|
||||
|
||||
tempItem.SetRightLabel(`${item.Price > 0 ? `$${item.Price}` : "FREE"}`);
|
||||
|
||||
Reference in New Issue
Block a user