Set the correct setting name instead of trying to set a setting with the version name

This commit is contained in:
Oliver-Akins 2025-05-29 22:49:35 -06:00
parent 0af4be2cfb
commit 0a01528bd3

View file

@ -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 {