Begin working on the migration script upon world load for Actors
This commit is contained in:
parent
8f8da244c0
commit
14f76e0a27
6 changed files with 192 additions and 1 deletions
|
|
@ -1,6 +1,10 @@
|
|||
import { checkMigrations } from "../migrations/checkMigrations.mjs";
|
||||
|
||||
Hooks.on(`ready`, () => {
|
||||
// Remove with issue: Foundry/taf#52
|
||||
if (game.release.generation < 14 && globalThis._loc == null) {
|
||||
globalThis._loc = game.i18n.format.bind(game.i18n);
|
||||
};
|
||||
|
||||
checkMigrations();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue