From a29fc7a531509bbdb9ad284649779abcca48118a Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Fri, 3 Oct 2008 23:13:46 +0000 Subject: [PATCH] allow updatefrommaster command to be forced git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2808 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/serverbrowser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/src/serverbrowser.cpp b/source/src/serverbrowser.cpp index a46245a5..6c3841e7 100644 --- a/source/src/serverbrowser.cpp +++ b/source/src/serverbrowser.cpp @@ -533,10 +533,10 @@ void clearservers() VARP(masterupdatefrequency, 1, 60*60, 24*60*60); -void updatefrommaster() +void updatefrommaster(int force) { static int lastupdate = 0; - if(lastupdate && totalmillis-lastupdate