From: Mario Date: Fri, 23 May 2014 13:48:40 +0000 (+1000) Subject: Show number of maps in lsmaps reply X-Git-Tag: xonotic-v0.8.0~203^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b7cc21c3e592beb3f413b05c6766c70a4ab56a31;p=xonotic%2Fxonotic-data.pk3dir.git Show number of maps in lsmaps reply --- diff --git a/qcsrc/server/command/getreplies.qc b/qcsrc/server/command/getreplies.qc index b8979155d..29e817ea6 100644 --- a/qcsrc/server/command/getreplies.qc +++ b/qcsrc/server/command/getreplies.qc @@ -338,7 +338,7 @@ string getlsmaps() } MapInfo_ClearTemps(); - return sprintf("^7Maps available%s: %s\n", (newmaps ? " (New maps have asterisks marked in blue)" : ""), lsmaps); + return sprintf("^7Maps available (%d)%s: %s\n", tokenize_console(lsmaps), (newmaps ? " (New maps have asterisks marked in blue)" : ""), lsmaps); } string getmonsterlist()