avoid auth loop

This commit is contained in:
flowtron
2022-05-06 20:47:17 +02:00
parent 7d0b271c72
commit da542df2cb
4 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ void renderscores(void *menu, bool init)
// update server stats
static int lastrefresh = 0;
if(!lastrefresh || lastrefresh+5000<lastmillis)
if(multiplayer(NULL) && (!lastrefresh || lastrefresh + 5000 < lastmillis))
{
refreshservers(NULL, init);
lastrefresh = lastmillis;