Vehicles age at calendar speed in wallclock mode

This commit is contained in:
Jonathan G Rennison
2024-02-16 20:23:23 +00:00
parent b940fa9466
commit 7938844d1d
5 changed files with 43 additions and 4 deletions

View File

@@ -290,7 +290,7 @@ void Ship::OnNewDay()
if ((++this->day_counter & 7) == 0) {
DecreaseVehicleValue(this);
}
AgeVehicle(this);
if (!EconTime::UsingWallclockUnits()) AgeVehicle(this);
}
void Ship::OnPeriodic()