* Fixed that mana auto-payment settings were not correctly set from previous settings on game start.

This commit is contained in:
LevelX2 2015-07-02 13:18:12 +02:00
parent 049f9aca7b
commit 0cbe590cac
9 changed files with 45 additions and 9 deletions

View file

@ -175,7 +175,10 @@ public class ComputerPlayer extends PlayerImpl implements Player {
super(name, range);
flagName = "computer";
human = false;
userData = new UserData(UserGroup.COMPUTER, 64, false, true, false, null, "Computer.png", false);
userData = UserData.getDefaultUserDataView();
userData.setAvatarId(64);
userData.setGroupId(UserGroup.COMPUTER.getGroupId());
userData.setFlagName("Computer.png");
pickedCards = new ArrayList<>();
}