1 line instead of 2 nasty ones

This commit is contained in:
m 2021-03-21 06:11:17 -05:00 committed by GitHub
parent dbdc57ed41
commit 3ed6f202ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";