diff --git a/Extension/swgsdetours.cpp b/Extension/swgsdetours.cpp index ca38e0c..9cf69c2 100644 --- a/Extension/swgsdetours.cpp +++ b/Extension/swgsdetours.cpp @@ -60,7 +60,11 @@ SteamWorksGSDetours::SteamWorksGSDetours() pConfig = g_SteamWorks.pSWGameData->GetGameData(); if (pConfig) { - pLibSteamPath = pConfig->GetKeyValue("LibSteamAPI"); + const char *kvLibSteamAPI = pConfig->GetKeyValue("LibSteamAPI"); + if (kvLibSteamAPI) + { + pLibSteamPath = kvLibSteamAPI; + } } }