Skip to content

Commit

Permalink
fix: fix asset url
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooorobo committed Nov 22, 2023
1 parent a387c8d commit 876b651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/business/map/tile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export const isValidPoint = (x: number, y: number) => {
};

export const getFileName = (x: number, y: number) => {
return `/tile/0/tile${(x + 7 * y).toString().padStart(3, '0')}.png`;
return `/map/tile/0/tile${(x + 7 * y).toString().padStart(3, '0')}.png`;
};

0 comments on commit 876b651

Please sign in to comment.