From 3899c2378bd54609aa6f12c9e3325017305b2f33 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 29 Jan 2021 17:57:39 -0500 Subject: [PATCH] Fix --- commands/games-mp/car-race.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-mp/car-race.js b/commands/games-mp/car-race.js index 798082f9..2afbad4b 100644 --- a/commands/games-mp/car-race.js +++ b/commands/games-mp/car-race.js @@ -400,7 +400,7 @@ module.exports = class CarRaceCommand extends Command { ctx.drawImage(congrats, 182, 21, 250, 62); ctx.fillStyle = 'black'; const x = (bg.width / 2) - 50; - ctx.fillRect(85, bg.width / 2, x + 5, 110, 110); + ctx.fillRect(85, x + 5, 110, 110); ctx.drawImage(win.id === userData.user.id ? userData.avatar : oppoData.avatar, x, 90, 100, 100); } else { const stars = await loadImage(