From bd7bb266c5e6184b6a9e2901444fb037ab4acb8e Mon Sep 17 00:00:00 2001 From: WBHarry Date: Sat, 24 Jan 2026 20:45:42 +0100 Subject: [PATCH] Moved migration to 1.6.0. Sillyness --- module/systemRegistration/migrations.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/module/systemRegistration/migrations.mjs b/module/systemRegistration/migrations.mjs index 2821ca49..743d42a4 100644 --- a/module/systemRegistration/migrations.mjs +++ b/module/systemRegistration/migrations.mjs @@ -225,6 +225,10 @@ export async function runMigrations() { ui.nav.render(true); + lastMigrationVersion = '1.5.5'; + } + + if (foundry.utils.isNewerVersion('1.6.0', lastMigrationVersion)) { /* Delevel any companions that are higher level than their partner character */ for (const companion of game.actors.filter(x => x.type === 'companion')) { if (companion.system.levelData.level.current <= 1) continue; @@ -240,7 +244,7 @@ export async function runMigrations() { } } - lastMigrationVersion = '1.5.5'; + lastMigrationVersion = '1.6.0'; } //#endregion