If road vehicle next order is for same station when leaving, do not leave

Just start loading again without moving instead
This commit is contained in:
Jonathan G Rennison
2022-02-16 00:14:55 +00:00
parent a6190c9deb
commit ae3c4f2d6d
2 changed files with 32 additions and 3 deletions

View File

@@ -3538,8 +3538,6 @@ void Vehicle::HandleLoading(bool mode)
return;
}
if (this->type != VEH_TRAIN && this->type != VEH_SHIP && this->type != VEH_AIRCRAFT) this->PlayLeaveStationSound();
this->LeaveStation();
/* Only advance to next order if we just loaded at the current one */