mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Fix
This commit is contained in:
@@ -400,7 +400,7 @@ module.exports = class CarRaceCommand extends Command {
|
|||||||
ctx.drawImage(congrats, 182, 21, 250, 62);
|
ctx.drawImage(congrats, 182, 21, 250, 62);
|
||||||
ctx.fillStyle = 'black';
|
ctx.fillStyle = 'black';
|
||||||
const x = (bg.width / 2) - 50;
|
const x = (bg.width / 2) - 50;
|
||||||
ctx.fillRect(85, x + 5, 110, 110);
|
ctx.fillRect(x + 5, 85, 110, 110);
|
||||||
ctx.drawImage(win.id === userData.user.id ? userData.avatar : oppoData.avatar, x, 90, 100, 100);
|
ctx.drawImage(win.id === userData.user.id ? userData.avatar : oppoData.avatar, x, 90, 100, 100);
|
||||||
} else {
|
} else {
|
||||||
const stars = await loadImage(
|
const stars = await loadImage(
|
||||||
|
|||||||
Reference in New Issue
Block a user