Begin working on the migration script upon world load for Actors

This commit is contained in:
Oliver 2026-04-19 23:41:49 -06:00
parent 8f8da244c0
commit 14f76e0a27
6 changed files with 192 additions and 1 deletions

View file

@ -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();
});