ok, my bad, hoy fix
continuous-integration/drone/push Build is passing Details

test_old_branch
Jérémy Mouyon 11 months ago
parent 1f994f7b83
commit a7ecb591d3

@ -735,7 +735,7 @@ namespace QwirkleClassLibrary.Games
{ {
List<int> playerTilesBagPos = CheckTilesBag(); List<int> playerTilesBagPos = CheckTilesBag();
if (playerTilesBagPos.Count != 0 && !CheckPlacementPossibilities(playerTilesBagPos)) if (playerTilesBagPos.Count != 0 && !CheckPlacementPossibilities(playerTilesBagPos) || playerTilesBagPos.Count == 0 && players[GetPlayingPlayerPosition()].Tiles.Count==0)
{ {
OnEndOfGame(new EndOfGameNotifiedEventArgs(player)); OnEndOfGame(new EndOfGameNotifiedEventArgs(player));
GameRunning = false; GameRunning = false;

Loading…
Cancel
Save