mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 06:34:58 +05:00
фиксыыы
This commit is contained in:
parent
e3cb48f269
commit
b96c3d1eb2
2 changed files with 1 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
@ -25,7 +25,7 @@ class Horserace extends Command {
|
||||||
if (args[0] === "create") {
|
if (args[0] === "create") {
|
||||||
let thisGame = games[message.channel.id];
|
let thisGame = games[message.channel.id];
|
||||||
|
|
||||||
if (thisGame) message.error("fun/horserace:GAME_RUNNING");
|
if (thisGame) return message.error("fun/horserace:GAME_RUNNING");
|
||||||
else {
|
else {
|
||||||
games[message.channel.id] = {
|
games[message.channel.id] = {
|
||||||
horseSpeeds: [],
|
horseSpeeds: [],
|
||||||
|
|
Loading…
Reference in a new issue