Author: cazfi
Date: Sun Dec 28 02:15:41 2014
New Revision: 27425

URL: http://svn.gna.org/viewcvs/freeciv?rev=27425&view=rev
Log:
Read script.lua and default.lua in in right order, so the script.lua has 
control over
default.lua.

See bug #23101

Modified:
    branches/S2_4/server/ruleset.c

Modified: branches/S2_4/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_4/server/ruleset.c?rev=27425&r1=27424&r2=27425&view=diff
==============================================================================
--- branches/S2_4/server/ruleset.c      (original)
+++ branches/S2_4/server/ruleset.c      Sun Dec 28 02:15:41 2014
@@ -4357,8 +4357,8 @@
   script_server_free();
 
   script_server_init();
+  openload_script_file("script");
   openload_script_file("default");
-  openload_script_file("script");
 
   /* Build advisors unit class cache corresponding to loaded rulesets */
   adv_units_ruleset_init();


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

Reply via email to