mirror of
https://git.haroon.hackclub.app/haroon/Battler-Generator.git
synced 2024-11-09 23:49:38 +00:00
add support for playerlocations
This commit is contained in:
parent
f041a052bb
commit
7c9263ab8f
1 changed files with 1 additions and 1 deletions
2
index.ts
2
index.ts
|
@ -391,7 +391,7 @@ const server = createServer(async (req, res) => {
|
|||
const context = canvas.getContext("2d");
|
||||
|
||||
const Background = await loadImage(
|
||||
`./assets/locations/${opts.map}.png`,
|
||||
`./assets/playerlocations/${opts.map}.png`,
|
||||
);
|
||||
|
||||
context.drawImage(Background, 0, 0, canvas.width, canvas.height);
|
||||
|
|
Loading…
Reference in a new issue