Skip to content

Commit

Permalink
- LoadDefinitions(): Remove if statement added in 1ea25e5 that was …
Browse files Browse the repository at this point in the history
…causing added DEF files not to load.

* The loop for `userConfig.AddDefs` feels like it should be moved out of `loaddefinitionsfile()` and into `LoadDefinitions()`, but that's subject to discussion.
  • Loading branch information
mjr4077au committed Apr 21, 2021
1 parent 14971f9 commit 5af7be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/gamecontrol.cpp
Expand Up @@ -1367,7 +1367,7 @@ void LoadDefinitions()
loaddefinitionsfile(razedefsfile, true, true);
loaded = razedefsfile;
}
else if (fileSystem.FileExists(defsfile))
else
{
loaddefinitionsfile(defsfile, true, false);
loaded = defsfile;
Expand Down

0 comments on commit 5af7be4

Please sign in to comment.