mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Fixed bug where number of players was off by 1
#story[1247]
This commit is contained in:
@@ -840,7 +840,7 @@ public class GameState implements Runnable {
|
||||
}
|
||||
|
||||
public static Integer getNumberOfPlayers(){
|
||||
Integer numPlayers = 0;
|
||||
Integer numPlayers = 1;
|
||||
|
||||
for(Player p : getPlayers()){
|
||||
if(p.getSocket().isConnected()){
|
||||
|
||||
Reference in New Issue
Block a user