Follow-up Comment #4, bug #23490 (project wesnoth):
I can see your point about save_id maybe containing spaces and other special
characters, but you can easily ensure that it doesn't (because you control
what the save_id is), so I don't see that being a significant issue.
The advantage of automatic removal, on the other hand, does make sense.
Regarding Lua API though, I'd suggest mirroring the API for unit variables,
which means using a metatable with __index and __newindex methods rather than
having functions.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23490>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs