From d883651154ab0fd5d891dd66b10899da817b7a8f Mon Sep 17 00:00:00 2001 From: m <64374267+mjkzy@users.noreply.github.com> Date: Sat, 13 Mar 2021 22:25:55 -0600 Subject: [PATCH] temp image 2/2 + image text --- src/client/component/discord.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/component/discord.cpp b/src/client/component/discord.cpp index a5c602e..4f11347 100644 --- a/src/client/component/discord.cpp +++ b/src/client/component/discord.cpp @@ -65,7 +65,9 @@ namespace discord std::chrono::system_clock::now().time_since_epoch()).count(); } - discord_presence.largeImageKey = game::Dvar_FindVar("ui_mapname")->current.string; + //discord_presence.largeImageKey = game::Dvar_FindVar("ui_mapname")->current.string; + discord_presence.largeImageKey = "s1x"; + discord_presence.largeImageText = game::UI_GetGameTypeDisplayName(game::Dvar_FindVar("ui_mapname")->current.string); } Discord_UpdatePresence(&discord_presence);