Prevent mobile app crashing on startup

This commit is contained in:
drdev
2015-01-16 03:58:13 +00:00
parent 47a3a173b6
commit 72a33daf87
3 changed files with 9 additions and 4 deletions

View File

@@ -2212,12 +2212,16 @@ public class Player extends GameEntity implements Comparable<Player> {
}
controllerCreator = ctrlr;
controller = ctrlr;
view.updateAvatarIndex(this);
view.updateAvatarCardImageKey(this);
updateAvatar();
view.updateIsAI(this);
view.updateLobbyPlayerName(this);
}
public void updateAvatar() {
view.updateAvatarIndex(this);
view.updateAvatarCardImageKey(this);
}
/**
* Run a procedure using a different controller
*/