diff --git a/src/Steam/Steam.cpp b/src/Steam/Steam.cpp index 19588399..ccdd09ae 100644 --- a/src/Steam/Steam.cpp +++ b/src/Steam/Steam.cpp @@ -70,7 +70,10 @@ namespace Steam bool SteamAPI_Init() { #ifndef DISABLE_STEAM_GAME - Proxy::SetGame(10190); + if (!Flags::HasFlag("-nosteam")) + { + Proxy::SetGame(10190); + } #endif if (!Proxy::Inititalize()) @@ -80,7 +83,10 @@ namespace Steam else { #ifndef DISABLE_STEAM_GAME - Proxy::SetMod("IW4x - Modern Warfare 2"); + if (!Flags::HasFlag("-nosteam")) + { + Proxy::SetMod("IW4x - Modern Warfare 2"); + } #endif }