фиксыыы

This commit is contained in:
JonnyBro 2022-01-19 20:18:49 +05:00
parent e3cb48f269
commit b96c3d1eb2
2 changed files with 1 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -25,7 +25,7 @@ class Horserace extends Command {
if (args[0] === "create") {
let thisGame = games[message.channel.id];
if (thisGame) message.error("fun/horserace:GAME_RUNNING");
if (thisGame) return message.error("fun/horserace:GAME_RUNNING");
else {
games[message.channel.id] = {
horseSpeeds: [],