Do not scale shown running costs by the day length factor

Show in original years
This commit is contained in:
Jonathan G Rennison
2024-02-16 18:41:53 +00:00
parent 3ec77973df
commit b940fa9466
5 changed files with 23 additions and 3 deletions

View File

@@ -206,6 +206,8 @@ static StringID GetRunningCostString()
{
if (EconTime::UsingWallclockUnits()) {
return STR_ENGINE_PREVIEW_RUNCOST_PERIOD;
} else if (DayLengthFactor() > 1) {
return STR_ENGINE_PREVIEW_RUNCOST_ORIG_YEAR;
} else {
return STR_ENGINE_PREVIEW_RUNCOST_YEAR;
}