mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
fixed bug: empty OptionalScript were saved as empty string, causing parse error when reading.
custom pack types can now be removed again. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1329 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -90,7 +90,9 @@ template <> void Reader::handle(OptionalScript& os) {
|
||||
}
|
||||
|
||||
template <> void Writer::handle(const OptionalScript& os) {
|
||||
handle(os.unparsed);
|
||||
if (os.script) {
|
||||
handle(os.unparsed);
|
||||
}
|
||||
}
|
||||
|
||||
template <> void GetDefaultMember::handle(const OptionalScript& os) {
|
||||
|
||||
Reference in New Issue
Block a user