mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 22:55:00 +05:00
фикс
This commit is contained in:
parent
9d5065530b
commit
31044d8a9f
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ class TicTacToe extends Command {
|
||||||
game.handleMessage(message);
|
game.handleMessage(message);
|
||||||
|
|
||||||
game.on("win", async (data) => {
|
game.on("win", async (data) => {
|
||||||
|
if (data.winner.id === "AI") return;
|
||||||
|
|
||||||
message.sendT("fun/number:WON", {
|
message.sendT("fun/number:WON", {
|
||||||
winner: data.winner.displayName
|
winner: data.winner.displayName
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue