]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Improve reply of the command 'records' when there are no records
authorterencehill <piuntn@gmail.com>
Thu, 17 Jan 2019 18:12:19 +0000 (19:12 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 17 Jan 2019 18:12:19 +0000 (19:12 +0100)
qcsrc/server/command/getreplies.qc

index e67625a307caac26580d06c7491f3299f8f5e255..b768ccb7e8510355d99068660661fd901dd96054 100644 (file)
@@ -36,8 +36,9 @@ string getrecords(int page)  // 50 records per page
 
        MapInfo_ClearTemps();
 
-       if (s == "" && page == 0) return "No records are available on this server.\n";
-       else return s;
+       if (s == "" && page == 0)
+               return "No records are available on this server for the current game mode.\n";
+       return s;
 }
 
 string getrankings()