diff --git a/src/modules/game/game.ts b/src/modules/game/game.ts index c36b58e..c753374 100644 --- a/src/modules/game/game.ts +++ b/src/modules/game/game.ts @@ -241,7 +241,7 @@ const onTravel = (text: string, roomId: string, sender: string) => { `You're now travelling to ${travelLocation.name}. It will take you ${travelTime.toFixed(1)} hours`, ); - startTravel(player, location.id, client, roomId); + startTravel(player, travelLocation.id, client, roomId); }; export { registerModuleGame };