diff --git a/commands/games-mp/car-race.js b/commands/games-mp/car-race.js index 071d699a..c48efbb0 100644 --- a/commands/games-mp/car-race.js +++ b/commands/games-mp/car-race.js @@ -139,7 +139,7 @@ module.exports = class CarRaceCommand extends Command { }); let car2; if (p2Car.size) { - const choice = p2Color.first().content.toLowerCase(); + const choice = p2Car.first().content.toLowerCase(); car2 = choice; oppoCar = await loadImage( path.join(__dirname, '..', '..', 'assets', 'images', 'car-race', 'cars', `${choice}.png`)