Skip to content

Commit

Permalink
Fixed player number
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-tieu committed Aug 10, 2024
1 parent 903b8ea commit e407a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/uta/cse3310/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e407a13

Please sign in to comment.