Author: alarantalara
Date: Sun Oct 23 17:15:59 2011
New Revision: 51590
URL: http://svn.gna.org/viewcvs/wesnoth?rev=51590&view=rev
Log:
Revert accidental change to wml-tags.lua
Modified:
trunk/data/lua/wml-tags.lua
Modified: trunk/data/lua/wml-tags.lua
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/lua/wml-tags.lua?rev=51590&r1=51589&r2=51590&view=diff
==============================================================================
--- trunk/data/lua/wml-tags.lua (original)
+++ trunk/data/lua/wml-tags.lua Sun Oct 23 17:15:59 2011
@@ -410,7 +410,7 @@
local var = cfg.variable or "unit"
local idx = 0
if mode == "append" then
- idx = wesnoth.get_variable(var .. ".length") or 0
+ idx = wesnoth.get_variable(var .. ".length")
elseif mode ~= "replace" then
wesnoth.set_variable(var)
end
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits