mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-11 10:52:17 +02:00
delete key after migrating
This commit is contained in:
parent
21c4c3b12d
commit
ce2b7969f4
@ -860,6 +860,7 @@ export class GameData {
|
|||||||
// TODO: Remove this block after save migration is implemented
|
// TODO: Remove this block after save migration is implemented
|
||||||
if (settings.hasOwnProperty("REROLL_TARGET") && !settings.hasOwnProperty(SettingKeys.Shop_Cursor_Target)) {
|
if (settings.hasOwnProperty("REROLL_TARGET") && !settings.hasOwnProperty(SettingKeys.Shop_Cursor_Target)) {
|
||||||
settings[SettingKeys.Shop_Cursor_Target] = settings["REROLL_TARGET"];
|
settings[SettingKeys.Shop_Cursor_Target] = settings["REROLL_TARGET"];
|
||||||
|
delete settings["REROLL_TARGET"];
|
||||||
localStorage.setItem("settings", JSON.stringify(settings));
|
localStorage.setItem("settings", JSON.stringify(settings));
|
||||||
}
|
}
|
||||||
// End of block to remove
|
// End of block to remove
|
||||||
|
Loading…
Reference in New Issue
Block a user