Author: cazfi
Date: Wed Nov 11 18:29:23 2015
New Revision: 30543

URL: http://svn.gna.org/viewcvs/freeciv?rev=30543&view=rev
Log:
Corrected multiplayer ruleset lua-script to send notifications about gained 
techs to players with
an embassy as E.TECH_EMBASSY.

See bug #24057

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=30543&r1=30542&r2=30543&view=diff
==============================================================================
--- trunk/data/multiplayer/script.lua   (original)
+++ trunk/data/multiplayer/script.lua   Wed Nov 11 18:29:23 2015
@@ -47,7 +47,7 @@
 
       -- default.lua informs the embassies when the tech source is a hut.
       -- They should therefore be informed about the source here too.
-      notify.embassies(player, NIL, E.TECH_GAIN,
+      notify.embassies(player, NIL, E.TECH_EMBASSY,
                        _("The %s gain %s and %s from %s."),
                        player.nation:plural_translation(),
                        gained[0]:name_translation(),
@@ -115,7 +115,7 @@
 
     -- default.lua informs the embassies when the tech source is a hut.
     -- They should therefore be informed about the source here too.
-    notify.embassies(player, NIL, E.TECH_GAIN,
+    notify.embassies(player, NIL, E.TECH_EMBASSY,
                      _("Great philosophers from all the world join the %s: 
they get %s as an immediate advance."),
                        player.nation:plural_translation(),
                        gained:name_translation())


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

Reply via email to