eggs and flowers show a green checkmark

This commit is contained in:
ReznoRMichael 2021-01-30 18:57:04 +01:00
parent 13c27ad060
commit f77cef3a55
2 changed files with 2 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -673,9 +673,8 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData) {
case "ghostCoins":
case "rancidEggs":
case "xunFlowerBrokeTimes":
CurrentDataBlank();
textPrefix += ": " + Math.abs(playerData[i]);
if (i === "ghostCoins" && playerData[i] <= 0) CurrentDataTrue();
(i === "ghostCoins" && playerData[i] > 0) ? CurrentDataBlank(): CurrentDataTrue();
break;
case "shopkeeperKey":
(playerData.hasSlykey === true || playerData.gaveSlykey === true) ? CurrentDataTrue(): CurrentDataFalse();