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

@@ -30,7 +30,7 @@ function enter(pi) {
if (pi.getPlayer().getMap().getReactorByName("kinggate").getState() == 1) {
pi.playPortalSound();
pi.warp(990000900, 2);
if (pi.getPlayer().getEventInstance().getProperty("boss") != null && pi.getPlayer().getEventInstance().getProperty("boss").equals("true")) {
if (pi.getPlayer().getEventInstance().getProperty("boss") != null && pi.getPlayer().getEventInstance().getProperty("boss") === "true") {
pi.changeMusic("Bgm10/Eregos");
}
return true;