parkm / oldbpm

A JavaScript game where you shoot at bubbles.
0 stars 1 forks source link

Loading #48

Closed parkm closed 10 years ago

parkm commented 10 years ago

Buy an upgrade which your previous save file did not have. Then load game, you will have all your loaded upgrades but you will also have the upgrade you purchased.

This is because we merge the current bpm.player with the stored object. We should have a default object that we first set bpm.player to then merge with the stored object.