Reformat and clean up portal scripts
This commit is contained in:
@@ -31,8 +31,7 @@ function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.getPlayer().changeMap(target, target.getPortal("st00"));
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
pi.getPlayer().dropMessage(5, "The portal is not opened yet.");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user