SteamWar/BauSystem
Archiviert
13
0

Add Execution Points back

Dieser Commit ist enthalten in:
jojo 2020-12-30 11:48:38 +01:00
Ursprung 570de88059
Commit fec21c9a92

Datei anzeigen

@ -109,8 +109,13 @@ public class ScriptListener implements Listener {
return; return;
} }
int executionPoints = 0;
while (index < commands.size()) { while (index < commands.size()) {
String command = commands.get(index++); String command = commands.get(index++);
if (executionPoints++ > 200) {
return;
}
String firstArg = command; String firstArg = command;
if (command.contains(" ")) { if (command.contains(" ")) {