Store time display settings both in savegame and client, add setting

This commit is contained in:
Jonathan G Rennison
2020-06-23 21:05:21 +01:00
parent 22b13ffc26
commit f5e9805b10
17 changed files with 180 additions and 72 deletions

View File

@@ -277,7 +277,7 @@ static void OnNewDay()
DisasterDailyLoop();
IndustryDailyLoop();
if (!_settings_client.gui.time_in_minutes || _settings_client.gui.date_with_time > 0) {
if (!_settings_time.time_in_minutes || _settings_client.gui.date_with_time > 0) {
SetWindowWidgetDirty(WC_STATUS_BAR, 0, 0);
}
EnginesDailyLoop();