dont run discord rpc callbacks every frame

ditto
This commit is contained in:
Alug committed 2025-03-20 23:51:59 +01:00
1 parent 198cd1a68a
commit ded46e6197
1 file changed
+1 -1
+1 -1
View File
@@ -928,7 +928,7 @@ void D_SRB2Loop(void)
S_UpdateSounds(); // move positional sounds
#ifdef HAVE_DISCORDRPC
if (!dedicated)
if (!dedicated && renderisnewtic)
{
Discord_RunCallbacks();
}