Skip to content

Commit

Permalink
fix(web): initial target location
Browse files Browse the repository at this point in the history
  • Loading branch information
broody committed Sep 15, 2023
1 parent c4db28c commit 02e8821
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/pages/[gameId]/travel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default function Travel() {
if (playerEntity && !isSubmitting) {
const location = getLocationById(playerEntity.locationId);
setCurrentLocationId(location.id);
setTargetId(location.id);
}
}, [playerEntity, isSubmitting]);

Expand Down

1 comment on commit 02e8821

@vercel
Copy link

@vercel vercel bot commented on 02e8821 Sep 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

rollyourown – ./

rollyourown-git-main.preview.cartridge.gg
rollyourown.preview.cartridge.gg

Please sign in to comment.