Skip to content
Snippets Groups Projects
Commit 5181ddd6 authored by Sal's avatar Sal
Browse files

Move master server presence updates to Advertise_OnChange

This will probably call DRPC_UpdatePresence slightly less?
parent 18adf478
No related branches found
No related tags found
1 merge request!227Move master server presence updates to Advertise_OnChange
......@@ -251,10 +251,6 @@ Finish_update (void)
if (! done)
Finish_update();
#ifdef HAVE_DISCORDRPC
else
DRPC_UpdatePresence();
#endif
}
static void
......@@ -288,10 +284,6 @@ Finish_unlist (void)
I_wake_all_cond(&MSCond);
#endif
}
#ifdef HAVE_DISCORDRPC
DRPC_UpdatePresence();
#endif
}
#ifdef HAVE_THREADS
......@@ -564,4 +556,8 @@ Advertise_OnChange(void)
{
UnregisterServer();
}
#ifdef HAVE_DISCORDRPC
DRPC_UpdatePresence();
#endif
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment