mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Disable hardcoded Discord API map icons for now, we can address this at release
This commit is contained in:
parent
93e72d3f66
commit
0a48165d3a
1 changed files with 4 additions and 1 deletions
|
|
@ -508,6 +508,7 @@ void DRPC_UpdatePresence(void)
|
||||||
if ((gamestate == GS_LEVEL || gamestate == GS_INTERMISSION) // Map info
|
if ((gamestate == GS_LEVEL || gamestate == GS_INTERMISSION) // Map info
|
||||||
&& !(demo.playback && demo.title))
|
&& !(demo.playback && demo.title))
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
if ((gamemap >= 1 && gamemap <= 60) // supported race maps
|
if ((gamemap >= 1 && gamemap <= 60) // supported race maps
|
||||||
|| (gamemap >= 136 && gamemap <= 164)) // supported battle maps
|
|| (gamemap >= 136 && gamemap <= 164)) // supported battle maps
|
||||||
{
|
{
|
||||||
|
|
@ -516,7 +517,9 @@ void DRPC_UpdatePresence(void)
|
||||||
strlwr(mapimg);
|
strlwr(mapimg);
|
||||||
discordPresence.largeImageKey = mapimg; // Map image
|
discordPresence.largeImageKey = mapimg; // Map image
|
||||||
}
|
}
|
||||||
else if (mapheaderinfo[gamemap-1]->menuflags & LF2_HIDEINMENU)
|
else
|
||||||
|
#endif
|
||||||
|
if (mapheaderinfo[gamemap-1]->menuflags & LF2_HIDEINMENU)
|
||||||
{
|
{
|
||||||
// Hell map, use the method that got you here :P
|
// Hell map, use the method that got you here :P
|
||||||
discordPresence.largeImageKey = "miscdice";
|
discordPresence.largeImageKey = "miscdice";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue