From 3ed6f202ae40410d3211357d10dce16759778229 Mon Sep 17 00:00:00 2001 From: m <64374267+mjkzy@users.noreply.github.com> Date: Sun, 21 Mar 2021 06:11:17 -0500 Subject: [PATCH] 1 line instead of 2 nasty ones --- src/client/component/discord.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/component/discord.cpp b/src/client/component/discord.cpp index c9a840c..bcd8034 100644 --- a/src/client/component/discord.cpp +++ b/src/client/component/discord.cpp @@ -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";