From 408a036bcc23394f4933e2e3c657e73476ad4cdc Mon Sep 17 00:00:00 2001 From: Darkvater Date: Fri, 13 May 2005 17:05:03 +0000 Subject: (svn r2302) - Fix: when you started a server 'load ' did not work prior to doing 'ls'. Fixed by moving the changing of saveload_mode into BuildFileList() --- console_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console_cmds.c b/console_cmds.c index 9cf286a4f..d1b69ad27 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -170,6 +170,7 @@ static const FiosItem* GetFiosItem(const char* file) { int i; + _saveload_mode = SLD_LOAD_GAME; BuildFileList(); for (i = 0; i < _fios_num; i++) { @@ -227,7 +228,6 @@ DEF_CONSOLE_CMD(ConListFiles) return true; } - _saveload_mode = SLD_LOAD_GAME; BuildFileList(); for (i = 0; i < _fios_num; i++) { -- cgit v1.2.3-70-g09d2