From 8355fde6f5cd915ec50fff5d7f72868966f18d40 Mon Sep 17 00:00:00 2001 From: Trevor Shelton Date: Tue, 21 May 2024 08:20:24 -0700 Subject: [PATCH] Fix: Altered saving messages to go to debug, removing now unnecessary things and the "Saving Map" message. --- src/saveload/saveload.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp index d9ecb80f0f..3a6e99ebf9 100644 --- a/src/saveload/saveload.cpp +++ b/src/saveload/saveload.cpp @@ -21,7 +21,6 @@ */ #include "../stdafx.h" -#include "../console_func.h" #include "../debug.h" #include "../station_base.h" #include "../thread.h" @@ -2832,7 +2831,7 @@ static SaveOrLoadResult SaveFileToDisk(bool threaded, const std::string &filenam if (threaded) SetAsyncSaveFinish(SaveFileDone); - IConsolePrint(CC_INFO, "Saved successfully as '{}'.", filename); + Debug(sl, 1, "Map saved as '{}'.", filename); return SL_OK; } catch (...) { @@ -2854,7 +2853,6 @@ static SaveOrLoadResult SaveFileToDisk(bool threaded, const std::string &filenam asfp(); } - IConsolePrint(CC_ERROR, "Saving map failed."); return SL_ERROR; } } @@ -3154,7 +3152,6 @@ SaveOrLoadResult SaveOrLoad(const std::string &filename, SaveLoadOperation fop, } if (fop == SLO_SAVE) { // SAVE game - IConsolePrint(CC_DEFAULT, "Saving map..."); Debug(desync, 1, "save: {:08x}; {:02x}; {}", TimerGameEconomy::date, TimerGameEconomy::date_fract, filename); if (!_settings_client.gui.threaded_saves) threaded = false;