mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Prevent mobile app crashing on startup
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user