mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-13 09:39:10 +00:00
(svn r1628) -Fix: [1107893] script command; log file pointer was not reset to NULL after logging was closed
This commit is contained in:
@@ -284,6 +284,7 @@ bool CloseConsoleLogIfActive(void)
|
||||
if (_iconsole_output_file != NULL) {
|
||||
IConsolePrintF(_iconsole_color_default, "file output complete");
|
||||
fclose(_iconsole_output_file);
|
||||
_iconsole_output_file = NULL;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user