Uses the code from #530 to fix the treetent puzzle editor.
Where very simple fixes. There was a switch statement missing "break"s. And the TreeTent puzzle exporter was exporting string values, while the importer expected integers.
Closes #503, #530
Type of change
[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Enhancement (improvement to an already existing feature)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
How Has This Been Tested?
Created a puzzle using the editor and successfully opened it back up.
Checklist:
[X] I have performed a self-review of my code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation (if applicable)
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
Description
Uses the code from #530 to fix the treetent puzzle editor.
Where very simple fixes. There was a switch statement missing "break"s. And the TreeTent puzzle exporter was exporting string values, while the importer expected integers.
Closes #503, #530
Type of change
How Has This Been Tested?
Created a puzzle using the editor and successfully opened it back up.
Checklist: