mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 15:57:54 +02:00
Fix AI Play not showing up
This commit is contained in:
@@ -122,7 +122,8 @@ module.exports = class ConnectFourCommand extends Command {
|
||||
});
|
||||
if (!turn.size) {
|
||||
await msg.say('Sorry, time is up! I\'ll pick their move for them.');
|
||||
AIEngine.playAI('hard');
|
||||
i = AIEngine.playAI('hard');
|
||||
lastMove = i + 1;
|
||||
userTurn = !userTurn;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user