[Steam] Add -nosteam flag
This commit is contained in:
parent
b6a12329b0
commit
8807d31221
@ -70,7 +70,10 @@ namespace Steam
|
|||||||
bool SteamAPI_Init()
|
bool SteamAPI_Init()
|
||||||
{
|
{
|
||||||
#ifndef DISABLE_STEAM_GAME
|
#ifndef DISABLE_STEAM_GAME
|
||||||
|
if (!Flags::HasFlag("-nosteam"))
|
||||||
|
{
|
||||||
Proxy::SetGame(10190);
|
Proxy::SetGame(10190);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!Proxy::Inititalize())
|
if (!Proxy::Inititalize())
|
||||||
@ -80,7 +83,10 @@ namespace Steam
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
#ifndef DISABLE_STEAM_GAME
|
#ifndef DISABLE_STEAM_GAME
|
||||||
|
if (!Flags::HasFlag("-nosteam"))
|
||||||
|
{
|
||||||
Proxy::SetMod("IW4x - Modern Warfare 2");
|
Proxy::SetMod("IW4x - Modern Warfare 2");
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user