temp image 2/2 + image text

This commit is contained in:
m 2021-03-13 22:25:55 -06:00 committed by GitHub
parent 58cfa86fed
commit d883651154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,9 @@ namespace discord
std::chrono::system_clock::now().time_since_epoch()).count(); 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); Discord_UpdatePresence(&discord_presence);