Ai Players
This commit is contained in:
1 parent
8ce1054599
commit
d76403a0c8
3 files changed
+16
-4
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user