Author: cazfi
Date: Tue Feb 10 21:32:53 2015
New Revision: 28086

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

See bug #23251

Modified:
    trunk/server/ruleset.c

Modified: trunk/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/ruleset.c?rev=28086&r1=28085&r2=28086&view=diff
==============================================================================
--- trunk/server/ruleset.c      (original)
+++ trunk/server/ruleset.c      Tue Feb 10 21:32:53 2015
@@ -6790,7 +6790,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