7yl4r / the-oregon-trajectory

:rocket: The Oregon Trail -- in SPAAACE!
http://7yl4r.github.io/the-oregon-trajectory/
GNU Affero General Public License v3.0
17 stars 6 forks source link

locations do not clear on game restart #71

Closed 7yl4r closed 9 years ago

7yl4r commented 9 years ago

to reproduce: lose a game and then start again (without refreshing page), locations are duplicated and random events from previous game are still there, game.data.locations needs to be cleared on game re-init.