mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 13:53:12 +02:00
Fix
This commit is contained in:
@@ -116,7 +116,7 @@ module.exports = class PokemonAdvantageCommand extends Command {
|
||||
ctx.drawImage(bg, 0, 0);
|
||||
if (winner) {
|
||||
const stars = await loadImage(
|
||||
path.join(__dirname, '..', '..', 'assets', 'images', 'pokmeon-advantage', 'stars.png')
|
||||
path.join(__dirname, '..', '..', 'assets', 'images', 'pokemon-advantage', 'stars.png')
|
||||
);
|
||||
if (winner === true) {
|
||||
ctx.drawImage(stars, 20, 0, 200, 200);
|
||||
|
||||
Reference in New Issue
Block a user