- fixed error when Steam config cannot be opened

https://forum.zdoom.org/viewtopic.php?t=68193
This commit is contained in:
alexey.lysiuk 2020-04-13 14:31:57 +03:00 committed by Christoph Oelckers
parent 75c880a3b3
commit e6431a756b

View file

@ -118,8 +118,7 @@ static TArray<FString> ParseSteamRegistry(const char* path)
// Read registry data
FScanner sc;
sc.OpenFile(path);
//if (sc.Sc)
if (sc.OpenFile(path))
{
sc.SetCMode(true);