Преглед изворни кода

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) => { data.entities.forEach((entity) => {
entity.flipped = false; entity.flipped = false;
}); });
}
},
/* /*
Migration: 5 -> 6 Migration: 5 -> 6


Entities can now have custom attributes Entities can now have custom attributes
*/ */

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


function migrateScene(data) { function migrateScene(data) {


Loading…
Откажи
Сачувај