Follow-up Comment #2, bug #21768 (project wesnoth):

Reading the other bug report hardens my assumption.
You can perhaps get around the problem by not using any of those lua functions
which add or remove units from the unit_map (wesnoth.put_unit,
wesnoth.extract_unit). wesnoth.get_unit(s) return you direct "pointers" to the
unit objects in the unit_map, which cou can modify (you modify only the
entries of the container, not the container itself then). You can't use the
.__cfg field then however.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21768>

_______________________________________________
  Nachricht gesendet von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to