If aircraft 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-15 20:24:13 +00:00
parent 323810b4e1
commit 5119d61c82
2 changed files with 18 additions and 2 deletions

View File

@@ -3538,7 +3538,7 @@ void Vehicle::HandleLoading(bool mode)
return;
}
if (this->type != VEH_TRAIN && this->type != VEH_SHIP) this->PlayLeaveStationSound();
if (this->type != VEH_TRAIN && this->type != VEH_SHIP && this->type != VEH_AIRCRAFT) this->PlayLeaveStationSound();
this->LeaveStation();