(svn r2302) - Fix: when you started a server 'load <file>' did not work prior to doing 'ls'. Fixed by moving the changing of saveload_mode into BuildFileList()

This commit is contained in:
Darkvater 2005-05-13 17:05:03 +00:00
parent 31f8f6a7b5
commit d19438f858
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {