From c4f9b81840aac6f51744edcd591578a2cdc1ddd3 Mon Sep 17 00:00:00 2001 From: xangelo Date: Tue, 25 Jul 2023 13:47:04 -0400 Subject: [PATCH] fix: travel now takes X steps X is some random number between 150-200, but this will eventually be set based on the "paths" between towns and then randomized a bit. --- src/events/travel/server.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/events/travel/server.ts b/src/events/travel/server.ts index b0353bb..72a4e82 100644 --- a/src/events/travel/server.ts +++ b/src/events/travel/server.ts @@ -70,7 +70,6 @@ export const nextStep: SocketEvent = { } travelPlan.current_position++; - travelPlan.current_position += travelPlan.total_distance; if(travelPlan.current_position >= travelPlan.total_distance) { const travel = await completeTravel(api.player.id); -- 2.25.1