Set the correct setting name instead of trying to set a setting with the version name
This commit is contained in:
parent
0af4be2cfb
commit
0a01528bd3
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ Hooks.on(`ready`, () => {
|
|||
// Fire and forget
|
||||
CONFIG.stats.db.migrateData(notif)
|
||||
.then(() => {
|
||||
game.settings.set(__ID__, __VERSION__);
|
||||
game.settings.set(__ID__, `lastVersion`, __VERSION__);
|
||||
setTimeout(() => ui.notifications.remove(notif), 500);
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue