mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
1 line instead of 2 nasty ones
This commit is contained in:
parent
dbdc57ed41
commit
3ed6f202ae
@ -17,8 +17,7 @@ namespace discord
|
||||
{
|
||||
Discord_RunCallbacks();
|
||||
|
||||
if (!game::CL_IsCgameInitialized() ||
|
||||
game::Dvar_FindVar("virtualLobbyActive")->current.enabled == 1)
|
||||
if (!game::CL_IsCgameInitialized() || game::Dvar_FindVar("virtualLobbyActive")->current.enabled == 1)
|
||||
{
|
||||
discord_presence.details = game::environment::is_sp() ? "Singleplayer" : "Multiplayer";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user