fix Colothes shop

This commit is contained in:
Michael
2020-06-10 20:15:20 +02:00
parent bb1abae765
commit b3ba7529b5
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ export default function handMoney(globalData: IGlobalData) {
} }
if (showMoneyChange > 0) { if (showMoneyChange > 0) {
showMoneyChange--; showMoneyChange--;
if (difference > 0) { if (difference < 0) {
var alpha = 255; var alpha = 255;
if (showMoneyChange <= 70) { if (showMoneyChange <= 70) {

View File

@@ -319,7 +319,7 @@ export default function clotheShopList(globalData: IGlobalData) {
addClothingItems("clothes", bannerSprite, 11, data[0], gender); addClothingItems("clothes", bannerSprite, 11, data[0], gender);
addClothingItems("clothes", bannerSprite, 4, data[1], gender); addClothingItems("clothes", bannerSprite, 4, data[1], gender);
addClothingItems("clothes", bannerSprite, 6, data[2], gender); addClothingItems("clothes", bannerSprite, 6, data[2], gender);
addClothingItems("clothes", bannerSprite, 7, data[3], gender); //addClothingItems("clothes", bannerSprite, 7, data[3], gender);
myVar = setInterval(myTimer, 100); myVar = setInterval(myTimer, 100);
// Add props // Add props
// for (const [key, value] of Object.entries(clothingData.props)) addClothingItems("props", bannerSprite, key, value); // for (const [key, value] of Object.entries(clothingData.props)) addClothingItems("props", bannerSprite, key, value);