format switch

This commit is contained in:
ReznoRMichael 2021-07-12 10:04:03 +02:00
parent 437d6025d4
commit 207076fc21

View file

@ -688,14 +688,17 @@ function CheckIfDataTrue(section, dataObject, playerData, worldData = []) {
case "pantheonSage":
case "pantheonKnight":
checkText = CheckGodmasterDoors(dataObject[i], playerData);
if (checkText === "PropertyNotFound") {
CurrentDataBlank(section, i);
dataObject[i].disabled = true;
/* textPrefix = `<del>${textPrefix}</del>`; */
break;
} else if (checkText === "PantheonCompleted") {
CurrentDataTrue(section, i);
break;
} else {
CurrentDataFalse(section, i);
}