Enable economy day length scaling in wallclock timekeeping mode
This commit is contained in:
@@ -788,10 +788,10 @@ static int DrawCargoCapacityInfo(int left, int right, int y, TestedEngineDetails
|
||||
|
||||
static StringID GetRunningCostString()
|
||||
{
|
||||
if (EconTime::UsingWallclockUnits()) {
|
||||
return STR_PURCHASE_INFO_RUNNINGCOST_PERIOD;
|
||||
} else if (DayLengthFactor() > 1 && !_settings_client.gui.show_running_costs_calendar_year) {
|
||||
if (DayLengthFactor() > 1 && !_settings_client.gui.show_running_costs_calendar_year) {
|
||||
return STR_PURCHASE_INFO_RUNNINGCOST_ORIG_YEAR;
|
||||
} else if (EconTime::UsingWallclockUnits()) {
|
||||
return STR_PURCHASE_INFO_RUNNINGCOST_PERIOD;
|
||||
} else {
|
||||
return STR_PURCHASE_INFO_RUNNINGCOST_YEAR;
|
||||
}
|
||||
|
Reference in New Issue
Block a user