]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Server list: soft refresh 305/head
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 6 Aug 2016 06:26:43 +0000 (16:26 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 6 Aug 2016 06:26:43 +0000 (16:26 +1000)
qcsrc/menu/xonotic/dialog_multiplayer_join.qc

index bba6d68b086f798675addd0d20e55a7fe0bcb903..a34d0d80a1cb12a9e713efb213d147b5f272226d 100644 (file)
@@ -17,7 +17,8 @@ entity makeXonoticServerListTab()
 
 void XonoticServerListTab_refresh(entity this, entity slist)
 {
-    slist.refreshServerList(slist, REFRESHSERVERLIST_RESET);
+    bool clear = false;
+    slist.refreshServerList(slist, clear ? REFRESHSERVERLIST_RESET : REFRESHSERVERLIST_ASK);
 }
 
 void XonoticServerListTab_fill(entity me)