Author: cazfi
Date: Tue May 17 22:25:50 2016
New Revision: 32738

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

See patch #7119

Modified:
    branches/S2_5/server/stdinhand.c

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