mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-27 19:16:31 -05:00
Fix timing of onMapShifted
This commit is contained in:
@@ -96,8 +96,8 @@ void MapPixmapItem::shift(int xDelta, int yDelta, bool fromScriptCall) {
|
||||
}
|
||||
|
||||
if (!fromScriptCall && map->layout->blockdata != oldMetatiles) {
|
||||
Scripting::cb_MapShifted(xDelta, yDelta);
|
||||
map->editHistory.push(new ShiftMetatiles(map, oldMetatiles, map->layout->blockdata, actionId_));
|
||||
Scripting::cb_MapShifted(xDelta, yDelta);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user