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

@@ -36,7 +36,7 @@
function enter(pi) {
pi.playPortalSound();
pi.warp(200090000, 4);
if (pi.getPlayer().getClient().getChannelServer().getEventSM().getEventManager("Boats").getProperty("haveBalrog").equals("true")) {
if (pi.getPlayer().getClient().getChannelServer().getEventSM().getEventManager("Boats").getProperty("haveBalrog") === "true") {
pi.changeMusic("Bgm04/ArabPirate");
}
return true;