Fantasy Map Simulator: Crash Fix for Map Editing

Fixed crashes caused by a memory leak while editing maps. Please try painting the map with Autosave enabled in Map Editing -> Global Commands. If the game still crashes, please send your Player.log to fantasymapsimulato…