URL: <http://gna.org/bugs/?11988>
Summary: Events with multiple types are multiplied Project: Battle for Wesnoth Submitted by: zookeeper Submitted on: Wednesday 09/07/08 at 17:50 Category: Bug Severity: 4 - Important Priority: 5 - Normal Item Group: WML Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: trunk r27660 Operating System: win xp _______________________________________________________ Details: Whenever I use an event with multiple types such as the one below, it gets duplicated in savefiles, leading to it triggering several times after loading (no duplication happens if you play through the scenario without ever saving and loading). [event] name=turn 1,turn 2,turn 3,turn 4 {DEBUG_MSG "trigger on turn $turn_number"} [/event] The length of the given name= list determines the number of copies: the above event would appear four times, and thus, after loading, you'd see the dialog box four times at the start of each of those turns. This has most likely been broken as long as the comma-separated list has been allowed there. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?11988> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Wesnoth-bugs mailing list Wesnoth-bugs@gna.org https://mail.gna.org/listinfo/wesnoth-bugs