small change with code
This commit is contained in:
parent
66e098051a
commit
7ab7923886
3 changed files with 12 additions and 3 deletions
|
|
@ -1061,7 +1061,12 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
|
||||||
// textPrefix += ": " + Math.abs(playerData[i]);
|
// textPrefix += ": " + Math.abs(playerData[i]);
|
||||||
amount = Math.abs(playerData[i]);
|
amount = Math.abs(playerData[i]);
|
||||||
dataObject[i].amount = amount;
|
dataObject[i].amount = amount;
|
||||||
i === "geoPool" && playerData[i] > 0 ? CurrentDataPartial(section, i) : CurrentDataBlank(section, i);
|
|
||||||
|
if (amount > 0 && i == "geoPool") {
|
||||||
|
CurrentDataPartial(section, i);
|
||||||
|
} else {
|
||||||
|
CurrentDataBlank(section, i);
|
||||||
|
}
|
||||||
|
|
||||||
if (i === "jinnEggsSold") {
|
if (i === "jinnEggsSold") {
|
||||||
// fade out if not on Steel Soul
|
// fade out if not on Steel Soul
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1178,7 +1178,11 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
|
||||||
|
|
||||||
dataObject[i].amount = amount;
|
dataObject[i].amount = amount;
|
||||||
|
|
||||||
(i === "geoPool" && playerData[i] > 0) ? CurrentDataPartial(section, i): CurrentDataBlank(section, i);
|
if (amount > 0 && i == "geoPool") {
|
||||||
|
CurrentDataPartial(section, i);
|
||||||
|
} else {
|
||||||
|
CurrentDataBlank(section, i);
|
||||||
|
}
|
||||||
|
|
||||||
if (i === "jinnEggsSold") {
|
if (i === "jinnEggsSold") {
|
||||||
// fade out if not on Steel Soul
|
// fade out if not on Steel Soul
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue