Fix various other scripts with broken comparisons
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user