mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-22 23:26:34 +00:00
(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:
parent
31f8f6a7b5
commit
d19438f858
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user