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 "pantheonSage":
case "pantheonKnight": case "pantheonKnight":
checkText = CheckGodmasterDoors(dataObject[i], playerData); checkText = CheckGodmasterDoors(dataObject[i], playerData);
if (checkText === "PropertyNotFound") { if (checkText === "PropertyNotFound") {
CurrentDataBlank(section, i); CurrentDataBlank(section, i);
dataObject[i].disabled = true; dataObject[i].disabled = true;
/* textPrefix = `<del>${textPrefix}</del>`; */ /* textPrefix = `<del>${textPrefix}</del>`; */
break; break;
} else if (checkText === "PantheonCompleted") { } else if (checkText === "PantheonCompleted") {
CurrentDataTrue(section, i); CurrentDataTrue(section, i);
break; break;
} else { } else {
CurrentDataFalse(section, i); CurrentDataFalse(section, i);
} }