define a setMap for current_metatile_selection_item to prevent crash on project transition

This commit is contained in:
garakmon
2020-08-19 19:30:35 -04:00
parent 79e384ef76
commit 90aba5e433
2 changed files with 3 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ public:
Map* map = nullptr;
MetatileSelector *metatileSelector;
void draw();
void setMap(Map *map) { this->map = map; }
};
#endif // CURRENTSELECTEDMETATILESPIXMAPITEM_H