Various fixes for v12

This commit is contained in:
2024-06-07 11:12:00 +02:00
parent 8775df5285
commit a385b98126
7 changed files with 7 additions and 9 deletions

View File

@ -567,7 +567,7 @@ export class Migrations {
if (currentVersion.startsWith("v")) {
currentVersion = currentVersion.substring(1)
}
if (isNewerVersion(game.system.version, currentVersion)) {
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));
if (migrations.length > 0) {