Ai Players

This commit is contained in:
FatBoy committed 2025-02-10 19:34:26 -06:00
1 parent 8ce1054599
commit d76403a0c8
3 files changed
+16 -4

No files matched your search

+5 -2
View File
@@ -36,9 +36,12 @@ public class AiPlayerManager {
while(AiPlayers.size() < totalPlayers){
try {
AiPlayer aiPlayer = new AiPlayer();
if (aiPlayer != null)
if (aiPlayer.emulated != null)
if (aiPlayer != null) {
if (aiPlayer.emulated != null) {
AiPlayers.add(aiPlayer);
aiPlayer.runAfterLoad();
}
}
}catch(Exception e){
Logger.error(e);
}