Skip to content

Commit

Permalink
Argh paths
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-uk committed Sep 2, 2024
1 parent abd4b75 commit 638444c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 649 deletions.
2 changes: 1 addition & 1 deletion game/graphics/sprites.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func NewSpriteBank(metaFile string) (*SpriteBank, error) {
// check if we're running in WASM, if so fetch the sprite metadata using HTTP
if utils.IsWASM() {
log.Println("Running in WASM, fetching sprite metadata using HTTP")
data, err = utils.FetchURL("/" + metaFile)
data, err = utils.FetchURL("/wasm-dungeon/" + metaFile)
if err != nil {
return nil, err
}
Expand Down
Loading

0 comments on commit 638444c

Please sign in to comment.