Fix #10982: No help text for gamelog command (#10984)

This commit is contained in:
Andrii
2023-06-13 10:33:33 +02:00
committed by GitHub
parent ebc451b071
commit f26de0d2f9
3 changed files with 7 additions and 2 deletions

View File

@@ -2105,6 +2105,11 @@ DEF_CONSOLE_CMD(ConListSettings)
DEF_CONSOLE_CMD(ConGamelogPrint)
{
if (argc == 0) {
IConsolePrint(CC_HELP, "Print logged fundamental changes to the game since the start. Usage: 'gamelog'.");
return true;
}
_gamelog.PrintConsole();
return true;
}