Radnen / spherestudio

A .NET based editor for your Sphere RPG games.
MIT License
16 stars 3 forks source link

Fix tileset saving crash/corruption #19

Closed fatcerberus closed 11 years ago

fatcerberus commented 11 years ago

Tile.Name is set to null initially, which caused null reference errors and corrupted the tileset upon attempting to save it. Fixed by explicitly setting Name to an empty string in the Tile constructor. Also fixed ProjectTree refreshing, somehow the Refresh() call got commented out when I revamped the file watchers and I never re-enabled it. Here I am, supposed to be fixing bugs and I introduce new ones!