Update of bug #21933 (project wesnoth): Status: Need Info => Invalid
_______________________________________________________ Follow-up Comment #3: I tested again and i could even reproduce this with the 1.11.8 version. So this is most likeley a bug in your wml/lua i marked this bug as invalid. if you still think this is a bug in wesnoth you should offer a simpler scenario to inspect. a general rule is, that you should never read/write wml variables/other gamestate in a preload event/on_load unless you write/read them also during a on_save&victory. Ofc there are exceptions. Note that on_load currently doesnt work in mp, so the currently best method to keep lua variables persitent if you dont want to use set_wml_var_metatable, is to read your lua variables in preload, and save them in on_save and in victory events. s/prealod/preload in the post before. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?21933> _______________________________________________ Nachricht gesendet von/durch Gna! http://gna.org/ _______________________________________________ Wesnoth-bugs mailing list Wesnoth-bugs@gna.org https://mail.gna.org/listinfo/wesnoth-bugs