From e407a13c0f05e12ff1f5c20ceb10df28ed0e0f4a Mon Sep 17 00:00:00 2001 From: Andy Date: Sat, 10 Aug 2024 15:22:57 -0500 Subject: [PATCH] Fixed player number --- src/main/java/uta/cse3310/App.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/uta/cse3310/App.java b/src/main/java/uta/cse3310/App.java index dc06139..be5089b 100644 --- a/src/main/java/uta/cse3310/App.java +++ b/src/main/java/uta/cse3310/App.java @@ -138,10 +138,10 @@ else if(L.getGameStatus() == false) { if(L.getPlayerCount() == 2) { SE.youAre = PlayerNum.TWO; } - if(L.getPlayerCount() == 3) { + else if(L.getPlayerCount() == 3) { SE.youAre = PlayerNum.THREE; } - if(L.getPlayerCount() == 2) { + else if(L.getPlayerCount() == 4) { SE.youAre = PlayerNum.FOUR; } System.out.println("NOT A NEW LOBBY");