From: terencehill Date: Thu, 17 Jan 2019 18:12:19 +0000 (+0100) Subject: Improve reply of the command 'records' when there are no records X-Git-Tag: xonotic-v0.8.5~1658 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=c501bcab755eb38afe0ce0d11dd2d73fe169237b Improve reply of the command 'records' when there are no records --- diff --git a/qcsrc/server/command/getreplies.qc b/qcsrc/server/command/getreplies.qc index e67625a307..b768ccb7e8 100644 --- a/qcsrc/server/command/getreplies.qc +++ b/qcsrc/server/command/getreplies.qc @@ -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()