democratizedspace / dspace

Free, open source space exploration idle game. Build your home base on earth, gather resources, and launch into orbit.
https://democratized.space
BSD Zero Clause License
3 stars 2 forks source link

issues persisting changes to gameState across multiple tabs #48

Open futuroptimist opened 1 year ago

futuroptimist commented 1 year ago

If you open a new tab for each item in a process and then buy an item on each tab and then refresh the original tab with the process, only one item is actually shown as added.

futuroptimist commented 1 year ago

We should probably just read from localStorage any time we change state. Should be cheap enough at the frequency we check for things