Skip to content

Vehicles cancelled movement fuel fix#213

Merged
Asdow merged 1 commit into
1dot13:masterfrom
andrzejfalkowski:vehicle-fuel-consumption-fix
Aug 28, 2023
Merged

Vehicles cancelled movement fuel fix#213
Asdow merged 1 commit into
1dot13:masterfrom
andrzejfalkowski:vehicle-fuel-consumption-fix

Conversation

@andrzejfalkowski
Copy link
Copy Markdown
Contributor

It's possible to empty a vehicle's gas tank by planning and cancelling movement immediately even without unpausing the game. The "never left" check was not applied to vehicle movement groups resulting in fuel being consumed on "arrival" in the same sector. With check applied, fuel will be only consumed if any time elapsed.

STR:

  1. Plan a movement with a vehicle to another sector and confirm it.
  2. Cancel the planned movement without unpausing the game.
  3. Notice that passengers are instantly back in the sector and available for another assignment yet fuel bar is down.
  4. This can be repeated infinitely until all fuel is gone.

@Asdow Asdow merged commit 3ddacf1 into 1dot13:master Aug 28, 2023
@andrzejfalkowski andrzejfalkowski deleted the vehicle-fuel-consumption-fix branch August 31, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants