SteamWar/BauSystem2.0
Archiviert
12
0
Dieser Commit ist enthalten in:
yoyosource 2021-04-28 08:11:56 +02:00
Ursprung 91cc6bc64c
Commit 98dfe9ed11

Datei anzeigen

@ -68,9 +68,7 @@ public class If implements SpecialCommand {
}
private void setIndex(ScriptExecutor scriptExecutor, String name) {
int jp = scriptExecutor.jumpPoints.getOrDefault(name, -1);
if (jp != -1) {
scriptExecutor.setIndex(jp);
}
Integer jp = scriptExecutor.jumpPoints.getOrDefault(name, null);
if (jp != null) scriptExecutor.setIndex(jp);
}
}