mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- allow specifying startup .con files via GAMEINFO.
This commit is contained in:
parent
4fe3c50c7c
commit
b5dbc3cf29
3 changed files with 5 additions and 5 deletions
|
@ -757,7 +757,7 @@ static TArray<GrpEntry> SetupGame()
|
|||
if (ugroup.FileInfo.gamefilter.IsNotEmpty()) LumpFilter = ugroup.FileInfo.gamefilter;
|
||||
g_gameType |= ugroup.FileInfo.flags;
|
||||
}
|
||||
if (userConfig.DefaultCon.IsEmpty()) userConfig.DefaultCon = selectedScript;
|
||||
if (userConfig.DefaultCon.IsEmpty()) userConfig.DefaultCon = GameStartupInfo.con.IsNotEmpty()? GameStartupInfo.con : selectedScript;
|
||||
if (userConfig.DefaultDef.IsEmpty()) userConfig.DefaultDef = selectedDef;
|
||||
|
||||
// This can only happen with a custom game that does not define any filter.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue