Skip to content

Commit

Permalink
#163 review (#2234)
Browse files Browse the repository at this point in the history
* #163 Lineup assistant avoid duplicate players in lineup

* #163 comment
  • Loading branch information
wsbrenk authored Jan 20, 2025
1 parent 4b7e021 commit 862ebd2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ private void startAssistant(HOModel hoModel, HOMainFrame mainFrame) {
include = false;
}
}
if (include) {
if (include &&
! hoModel.getCurrentLineup().isPlayerInStartingEleven(player.getPlayerId())) { // not already in current lineup
selectablePlayers.add(player);
}
}
Expand Down

0 comments on commit 862ebd2

Please sign in to comment.