fix: reset momentum and pressure when starting new route

Added momentum and pressure reset to START_NEW_ROUTE action.
Each new route now starts fresh with zero momentum/pressure,
preventing carryover from the previous route.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock
2025-09-30 15:12:13 -05:00
parent 1a8093416e
commit 3ea88d7a5a

View File

@@ -376,7 +376,9 @@ function gameReducer(state: GameState, action: GameAction): GameState {
stations: action.stations,
trainPosition: 0,
deliveredPassengers: 0,
showRouteCelebration: false
showRouteCelebration: false,
momentum: 0,
pressure: 0
}
case 'COMPLETE_ROUTE':