The loader keeps no migrations any more: an asset of the old type autotile (before #131) is an unknown type and dropped, and a tilemap layer with the cell map of the first version (before #134) loads empty; every project is saved in the current format, and the two tests now pin that the old shapes are not read (#137)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bffa508ee7
commit
c91c18f495
4 files changed
+13
-47
No files matched your search
@@ -113,8 +113,3 @@ export function decodeCells(raw: {
|
||||
});
|
||||
return cells;
|
||||
}
|
||||
|
||||
/** Whether a stored layer is in this format rather than the map of the first version (#128). */
|
||||
export function isStoredCells(raw: Record<string, unknown>): boolean {
|
||||
return Array.isArray(raw.rows);
|
||||
}
|
||||
Reference in new issue
Block a user