adjust migration versioning
This commit is contained in:
parent
e385159f29
commit
60ed168053
6 changed files with 56 additions and 51 deletions
|
@ -8,7 +8,7 @@ import { DS4CharacterActorSheet } from "./actor/sheets/character-sheet";
|
|||
import { DS4CreatureActorSheet } from "./actor/sheets/creature-sheet";
|
||||
import { createCheckRoll } from "./rolls/check-factory";
|
||||
import { registerSystemSettings } from "./settings";
|
||||
import { migrate } from "./migrations";
|
||||
import { migration } from "./migrations";
|
||||
|
||||
Hooks.once("init", async function () {
|
||||
console.log(`DS4 | Initializing the DS4 Game System\n${DS4.ASCII}`);
|
||||
|
@ -18,6 +18,7 @@ Hooks.once("init", async function () {
|
|||
DS4Item,
|
||||
DS4,
|
||||
createCheckRoll,
|
||||
migration,
|
||||
};
|
||||
|
||||
// Record configuration
|
||||
|
@ -130,5 +131,5 @@ Hooks.once("setup", function () {
|
|||
});
|
||||
|
||||
Hooks.once("ready", function () {
|
||||
migrate();
|
||||
migration.migrate();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue