Author: cazfi
Date: Tue May 17 22:25:39 2016
New Revision: 32736

URL: http://svn.gna.org/viewcvs/freeciv?rev=32736&view=rev
Log:
Mention 'minplayers' setting in "not enought human players" -message

See patch #7119

Modified:
    trunk/server/stdinhand.c

Modified: trunk/server/stdinhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/stdinhand.c?rev=32736&r1=32735&r2=32736&view=diff
==============================================================================
--- trunk/server/stdinhand.c    (original)
+++ trunk/server/stdinhand.c    Tue May 17 22:25:39 2016
@@ -5673,8 +5673,12 @@
      * players have died */
     if (game.info.is_new_game
         && human_players < game.server.min_players) {
-      start_cmd_reply(caller, notify,
-                      _("Not enough human players; game will not start."));
+      char buf[512] = "";
+
+      fc_snprintf(buf, sizeof(buf),
+                  _("Not enough human players ('minplayers' server setting has 
value %d); game will not start."),
+                  game.server.min_players);
+      start_cmd_reply(caller, notify, buf);
       return FALSE;
     } else if (player_count() < 1) {
       /* At least one player required */


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to