Ai Players

This commit is contained in:
2025-02-10 19:20:39 -06:00
parent 898c4c2fa0
commit 0daf8cfe4c
+2 -2
View File
@@ -34,11 +34,11 @@ public class AiPlayerManager {
public static void init(){
while(AiPlayers.size() < totalPlayers){
AiPlayer aiPlayer = new AiPlayer();
if(aiPlayer != null && aiPlayer.emulated != null){
if(aiPlayer != null)
if(aiPlayer.emulated != null)
AiPlayers.add(aiPlayer);
}
}
}
public static String generateFirstName(){
return GENDER_NEUTRAL_NAMES.get(RANDOM.nextInt(GENDER_NEUTRAL_NAMES.size()));
}