Fix various other scripts with broken comparisons

This commit is contained in:
P0nk
2022-08-05 22:33:40 +02:00
parent fcdf3d6e1e
commit bfb2c1cb3d
24 changed files with 33 additions and 33 deletions

View File

@@ -19,7 +19,7 @@ function start() {
var em = cm.getEventManager("s4aWorld");
if (em == null) {
cm.sendOk("You're not allowed to enter with unknown reason. Try again.");
} else if (em.getProperty("started").equals("true")) {
} else if (em.getProperty("started") === "true") {
cm.sendOk("Someone else is already attempting to defeat the Jr.Balrog in another world.");
} else {
var eli = em.getEligibleParty(cm.getParty());