From e6431a756bcaad294fdbf9bc0dea70f360dcd695 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 13 Apr 2020 14:31:57 +0300 Subject: [PATCH] - fixed error when Steam config cannot be opened https://forum.zdoom.org/viewtopic.php?t=68193 --- source/platform/posix/i_steam.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/platform/posix/i_steam.cpp b/source/platform/posix/i_steam.cpp index 89bbe3b91..d2966c005 100644 --- a/source/platform/posix/i_steam.cpp +++ b/source/platform/posix/i_steam.cpp @@ -118,8 +118,7 @@ static TArray ParseSteamRegistry(const char* path) // Read registry data FScanner sc; - sc.OpenFile(path); - //if (sc.Sc) + if (sc.OpenFile(path)) { sc.SetCMode(true);