summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-06-12 21:07:04 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-06-13 15:25:31 +0200
commitefd4ba4797c90a4e624a3f039c84a2321641dab4 (patch)
tree4ee3e3c966df67b6c9703a683bf9731eb52a5a44 /src/settings.cpp
parentde49727ae81dd1aa999e8090f736844bbfd1481d (diff)
downloadopenttd-efd4ba4797c90a4e624a3f039c84a2321641dab4.tar.xz
Change: unify the style of console error messages and convert to fmt
Always start with a capital, do not add "ERROR: " in front of it.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index a32563b53..1df7d2ac1 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1950,9 +1950,9 @@ void IConsoleSetSetting(const char *name, const char *value, bool force_newgame)
if (!success) {
if (_network_server) {
- IConsoleError("This command/variable is not available during network games.");
+ IConsolePrint(CC_ERROR, "This command/variable is not available during network games.");
} else {
- IConsoleError("This command/variable is only available to a network server.");
+ IConsolePrint(CC_ERROR, "This command/variable is only available to a network server.");
}
}
}