Skip to content

Commit

Permalink
fix: leaderboard background not loading
Browse files Browse the repository at this point in the history
closes #92
  • Loading branch information
BenSegal855 committed Nov 5, 2024
1 parent cf4ab7a commit 9ee9fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/Info/committiee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class UserCommand extends SteveSubcommand {
};
}));

const background = await loadImage(readFileSync(`${__dirname}../../../../src/assets/committieeLeaderboardBackground.svg`));
const background = await loadImage(readFileSync(`${__dirname}/../../../src/assets/committieeLeaderboardBackground.svg`));
const canvas = createCanvas(background.width, background.height);
const ctx = canvas.getContext('2d');
ctx.font = '35px Sans';
Expand Down

0 comments on commit 9ee9fc0

Please sign in to comment.