Added a parameter "force" for system migration (dev tools)

This commit is contained in:
Vlyan
2021-06-04 15:23:38 +02:00
parent f9f7df78b6
commit e87e553396
2 changed files with 36 additions and 24 deletions

View File

@@ -23,7 +23,7 @@ export default class HooksL5r5e {
static async ready() {
// Migration stuff
if (game.l5r5e.migrations.needUpdate(game.l5r5e.migrations.NEEDED_VERSION)) {
game.l5r5e.migrations.migrateWorld();
game.l5r5e.migrations.migrateWorld({ force: false });
}
// For some reasons, not always really ready, so wait a little