Author: cazfi
Date: Tue Aug 25 05:47:28 2015
New Revision: 29671

URL: http://svn.gna.org/viewcvs/freeciv?rev=29671&view=rev
Log:
Fixed multiplayer ruleset lua call to give Theory of Evolution tech to player.

See bug #23816

Modified:
    branches/S2_6/data/multiplayer/script.lua

Modified: branches/S2_6/data/multiplayer/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/multiplayer/script.lua?rev=29671&r1=29670&r2=29671&view=diff
==============================================================================
--- branches/S2_6/data/multiplayer/script.lua   (original)
+++ branches/S2_6/data/multiplayer/script.lua   Tue Aug 25 05:47:28 2015
@@ -32,7 +32,7 @@
     -- This also prevents those they share research with from getting two
     -- free advances from building Darwin`s Voyage themselves.
     if player:give_technology(find.tech_type("Theory of Evolution"),
-                              "researched") then
+                              0, "researched") then
       -- Give the player two free advances.
       gained[0] = player:give_technology(nil, 0, "researched")
       gained[1] = player:give_technology(nil, 0, "researched")


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

Reply via email to