diff --git a/module/migrations.js b/module/migrations.js index 03a396bf..675e2088 100644 --- a/module/migrations.js +++ b/module/migrations.js @@ -569,7 +569,7 @@ export class Migrations { } if (foundry.utils.isNewerVersion(game.system.version, currentVersion)) { // if (true) { /* comment previous and uncomment here to test before upgrade */ - const migrations = Migrations.getMigrations().filter(m => isNewerVersion(m.version, currentVersion)); + const migrations = Migrations.getMigrations().filter(m => foundry.utils.isNewerVersion(m.version, currentVersion)); if (migrations.length > 0) { migrations.sort((a, b) => this.compareVersions(a, b)); migrations.forEach(async (m) => {