Author: cazfi
Date: Tue May 17 22:25:45 2016
New Revision: 32737

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

See patch #7119

Modified:
    branches/S2_6/server/stdinhand.c

Modified: branches/S2_6/server/stdinhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/stdinhand.c?rev=32737&r1=32736&r2=32737&view=diff
==============================================================================
--- branches/S2_6/server/stdinhand.c    (original)
+++ branches/S2_6/server/stdinhand.c    Tue May 17 22:25:45 2016
@@ -5666,8 +5666,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