From f23a5f0d187d511796ad17eb4909dc5db3b1cbf4 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 29 Jan 2021 18:04:40 -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 df809e88..6ea1fdde 100644 --- a/commands/games-mp/car-race.js +++ b/commands/games-mp/car-race.js @@ -427,7 +427,7 @@ module.exports = class CarRaceCommand extends Command { } } else { const vs = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'car-race', 'vs.png')); - ctx.drawImage(vs, (bg.width / 2) - (vs.width / 2), 80, 75, 75); + ctx.drawImage(vs, (bg.width / 2) - (75 / 2), 80, 75, 75); ctx.fillStyle = 'black'; ctx.fillRect(105, 45, 135, 135); ctx.drawImage(userData.avatar, 110, 50, 125, 125);