瀏覽代碼

Fix a missing migration

This was breaking old saves
master
Fen Dweller 3 年之前
父節點
當前提交
6493d58a8d
共有 1 個檔案被更改,包括 7 行新增1 行删除
  1. +7
    -1
      macrovision.js

+ 7
- 1
macrovision.js 查看文件

@@ -6248,12 +6248,18 @@ const migrationDefs = [
data.entities.forEach((entity) => {
entity.flipped = false;
});
}
},
/*
Migration: 5 -> 6

Entities can now have custom attributes
*/

(data) => {
data.entities.forEach((entity) => {
entity.views = {};
});
}
];

function migrateScene(data) {


Loading…
取消
儲存