Browse Source

Fix a missing migration

This was breaking old saves
master
Fen Dweller 3 years ago
parent
commit
6493d58a8d
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      macrovision.js

+ 7
- 1
macrovision.js View File

@@ -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…
Cancel
Save