Author: cazfi
Date: Tue Feb 10 21:33:01 2015
New Revision: 28087

URL: http://svn.gna.org/viewcvs/freeciv?rev=28087&view=rev
Log:
Load default.lua when needed.

See bug #23251

Modified:
    branches/S2_6/server/ruleset.c

Modified: branches/S2_6/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/ruleset.c?rev=28087&r1=28086&r2=28087&view=diff
==============================================================================
--- branches/S2_6/server/ruleset.c      (original)
+++ branches/S2_6/server/ruleset.c      Tue Feb 10 21:33:01 2015
@@ -6747,7 +6747,7 @@
     ok = openload_script_file("script", rsdir, buffer);
   }
 
-  if (ok && buffer_script) {
+  if (ok && !buffer_script) {
     ok = openload_script_file("default", rsdir, NULL);
   }
 


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

Reply via email to