From 7352b7fc23d0c6e3a3bfd759e3934d87c3f47dd4 Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Tue, 31 Aug 2021 04:48:36 +0200 Subject: [PATCH] Set discord image to map image --- src/component/discord.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/component/discord.cpp b/src/component/discord.cpp index 9a8ea371..7936e573 100644 --- a/src/component/discord.cpp +++ b/src/component/discord.cpp @@ -35,6 +35,7 @@ namespace discord const auto map = game::Dvar_FindVar("mapname")->current.string; const auto mapname = game::UI_SafeTranslateString(utils::string::va("PRESENCE_SP_%s", map)); + discord_presence.largeImageKey = map; discord_presence.details = mapname; discord_presence.state = state.data();