Corrigé bug dans l'ajout de parties
This commit is contained in:
		@@ -548,8 +548,13 @@ public class NewGameFragment extends Fragment {
 | 
			
		||||
				for (int i = 0; i < game.getGameType().getNbPlayers(); ++i)
 | 
			
		||||
					players.get(i).addScore(game.getGameType(), game.getPoints(players.get(i)));
 | 
			
		||||
 | 
			
		||||
				MainActivity.INSTANCE.runOnUiThread(new Runnable() {
 | 
			
		||||
					@Override
 | 
			
		||||
					public void run() {
 | 
			
		||||
						for (int i = 0; i < 6; ++i)
 | 
			
		||||
							totalPoints[i].setText(String.valueOf(((Player) spinners[i].getSelectedItem()).getScore(Game.GameType.values()[nb_players.getProgress()])));
 | 
			
		||||
					}
 | 
			
		||||
				});
 | 
			
		||||
 | 
			
		||||
				return game;
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user