From a830ddac88fbaa618b336443181ab579a14b68e1 Mon Sep 17 00:00:00 2001 From: Paul Gross Date: Thu, 23 Apr 2020 09:26:05 +0200 Subject: [PATCH] Correction erreur compilation --- src/ihm/controller/PlayersController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ihm/controller/PlayersController.java b/src/ihm/controller/PlayersController.java index f550d33..958d4c9 100644 --- a/src/ihm/controller/PlayersController.java +++ b/src/ihm/controller/PlayersController.java @@ -93,9 +93,10 @@ public class PlayersController implements Initializable{ else { joueurs.add(new JoueurVirtuel(tf.getText())); } + joueurs.add(null); nbJoueurs++; } - joueurs.add(null); + } if (nbJoueurs < 4) {