mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
temp image 2/2 + image text
This commit is contained in:
parent
58cfa86fed
commit
d883651154
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user