[Steam] Add -nosteam flag

This commit is contained in:
momo5502 2017-01-22 03:06:33 +01:00
parent b6a12329b0
commit 8807d31221

View File

@ -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
}