Author: cazfi
Date: Tue Aug 25 05:47:21 2015
New Revision: 29670

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

See bug #23816

Modified:
    trunk/data/multiplayer/script.lua

Modified: trunk/data/multiplayer/script.lua
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/multiplayer/script.lua?rev=29670&r1=29669&r2=29670&view=diff
==============================================================================
--- trunk/data/multiplayer/script.lua   (original)
+++ trunk/data/multiplayer/script.lua   Tue Aug 25 05:47:21 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