Skip to content
This repository was archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
Fix bug in JoinGamePanel causing joined players to be shown with type…
Browse files Browse the repository at this point in the history
… AI_VERY_HARD instead of human (fixes #604)
  • Loading branch information
andreas-eberle committed Jun 15, 2017
1 parent 947fc9b commit 609d99a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ private void onPlayersChanges(ChangingList<? extends IMultiplayerPlayer> changin
IMultiplayerPlayer player = players.get(i);
playerSlot.setPlayerName(player.getName());
playerSlot.setReady(player.isReady());
playerSlot.setPlayerType(EPlayerType.HUMAN, false);
if (player.getId().equals(myId)) {
playerSlot.setReadyButtonEnabled(true);
playerSlot.informGameAboutReady(joinMultiPlayerMap);
Expand Down

0 comments on commit 609d99a

Please sign in to comment.