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

URL: http://svn.gna.org/viewcvs/freeciv?rev=30544&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:
    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=30544&r1=30543&r2=30544&view=diff
==============================================================================
--- branches/S2_6/data/multiplayer/script.lua   (original)
+++ branches/S2_6/data/multiplayer/script.lua   Wed Nov 11 18:29:29 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