mail[Wesnoth-commits] r52778 - /trunk/data/core/macros/event-utils.cfg


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by lari . nieminen on January 27, 2012 - 22:17:
Author: zookeeper
Date: Fri Jan 27 22:17:20 2012
New Revision: 52778

URL: http://svn.gna.org/viewcvs/wesnoth?rev=52778&view=rev
Log:
Fixes bug #19334: ON_SIGHTING macro too often blocking undo.

Modified:
    trunk/data/core/macros/event-utils.cfg

Modified: trunk/data/core/macros/event-utils.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/event-utils.cfg?rev=52778&r1=52777&r2=52778&view=diff
==============================================================================
--- trunk/data/core/macros/event-utils.cfg (original)
+++ trunk/data/core/macros/event-utils.cfg Fri Jan 27 22:17:20 2012
@@ -154,6 +154,11 @@
                             value=yes
                         [/set_variable]
                     [/then]
+
+                    [else]
+                        [allow_undo]
+                        [/allow_undo]
+                    [/else]
                 [/if]
 
                 [clear_variable]




Related Messages


Powered by MHonArc, Updated Sat Jan 28 12:00:11 2012