Xmage 1.4.14v0

This commit is contained in:
LevelX2 2016-08-13 10:14:38 +02:00
parent 4bfac31370
commit 539b03bd1d
33 changed files with 60 additions and 57 deletions

View file

@ -477,7 +477,7 @@ public class TestPlayer implements Player {
if (groups.length > 0) {
if (groups[0].equals("Rollback")) {
if (groups.length > 1 && groups[1].startsWith("turns=")) {
int turns = Integer.parseUnsignedInt(groups[1].substring(6));
int turns = Integer.parseInt(groups[1].substring(6));
game.rollbackTurns(turns);
actions.remove(action);
return true;