mirror of
https://github.com/huderlem/porymap.git
synced 2026-03-25 19:44:36 -05:00
Fix events not being cleared
This commit is contained in:
parent
edd2cce110
commit
75dbd25630
|
|
@ -1148,6 +1148,7 @@ void Editor::unsetMap() {
|
|||
this->map->pruneEditHistory();
|
||||
this->map->disconnect(this);
|
||||
}
|
||||
clearMapEvents();
|
||||
clearMapConnections();
|
||||
|
||||
this->map = nullptr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user