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:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user