grenades fix, newmap spawn fix, removebans fix, findlist cmd, menumdl fix, spect hud, scoreboard server stats refresh limit
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1566 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -154,6 +154,12 @@ void renderscores(void *menu, bool init)
|
||||
loopv(scorelines) menumanual(menu, i, scorelines[i].s, NULL, scorelines[i].bgcolor);
|
||||
menuheader(menu, modeline, serverline);
|
||||
|
||||
refreshservers(NULL, init); // update server stats
|
||||
// update server stats
|
||||
static int lastrefresh = 0;
|
||||
if(!lastrefresh || lastrefresh+5000<lastmillis)
|
||||
{
|
||||
refreshservers(NULL, init);
|
||||
lastrefresh = lastmillis;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user