URL: <http://gna.org/bugs/?24740>
Summary: set_variable tag doesn't work in some cases Project: Battle for Wesnoth Submitted by: sigurdfdragon Submitted on: Wed 08 Jun 2016 03:13:21 AM UTC Category: Bug Severity: 5 - Blocker Priority: 5 - Normal Item Group: WML Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: 1.13.4+dev Operating System: Win 7 x64 _______________________________________________________ Details: Introduced by https://github.com/wesnoth/wesnoth/commit/3715c194c2e1bbe2174b82467880625a00bfd7a2 the error: lua/wml-tags.lua:1064: bad argument #1 to 'tonumber' (value expected) occurs when using a line like {VARIABLE_OP j add 1} in a scenario A related version (line 1072 error, multiply) can be triggered in the test scenario by going to 4,4 then moving to 1,2 May be a bug in wesnoth.set_variable, see irc discussion on 2016-06-07 to 08 for discussion & details. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?24740> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Wesnoth-bugs mailing list Wesnoth-bugs@gna.org https://mail.gna.org/listinfo/wesnoth-bugs