forked from GitHub-Mirrors/foundry-sw5e
Fine tune migration concurrency
Fix migration concurrency so that it goes in an orderly process. This ensures that big migrations will not crash.
This commit is contained in:
parent
a99faad77c
commit
9b63457ae1
2 changed files with 21 additions and 11 deletions
2
sw5e.js
2
sw5e.js
|
@ -196,7 +196,7 @@ Hooks.once("ready", function() {
|
|||
// Determine whether a system migration is required and feasible
|
||||
if ( !game.user.isGM ) return;
|
||||
const currentVersion = game.settings.get("sw5e", "systemMigrationVersion");
|
||||
const NEEDS_MIGRATION_VERSION = "1.2.4.R1-A4";
|
||||
const NEEDS_MIGRATION_VERSION = "1.2.4.R1-A5";
|
||||
// Check for R1 SW5E versions
|
||||
const SW5E_NEEDS_MIGRATION_VERSION = "R1-A5";
|
||||
const COMPATIBLE_MIGRATION_VERSION = 0.80;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue