Implement fix for mobile

Co-authored-by: HexaVault <44529573+HexaVault@users.noreply.github.com>
This commit is contained in:
Donaldino7712 2024-05-16 20:35:25 +02:00 committed by cyip92
parent ac7ba1a357
commit b0998a5cc4

View File

@ -100,7 +100,6 @@ export const migrations = {
clearInterval(window.uiChoiceModalInterval); clearInterval(window.uiChoiceModalInterval);
} }
}, 1000); }, 1000);
player.infinity = { upgradeBits: 0 };
migrations.normalizeTimespans(player); migrations.normalizeTimespans(player);
migrations.convertAutobuyerMode(player); migrations.convertAutobuyerMode(player);
@ -422,7 +421,7 @@ export const migrations = {
if (player.celestials.pelle.doomed) player.dilation.rebuyables[3] = 0; if (player.celestials.pelle.doomed) player.dilation.rebuyables[3] = 0;
}, },
26: player => { 26: player => {
delete player.infinity.upgradeBits; if (!!player.infinity?.upgradeBits) delete player.infinity.upgradeBits;
} }
}, },