After clicking 'refresh' the client displays deleted games instead of active ones

To reproduce:

  1. Create a new game, and delete it. (I am not sure, but you may need to first click ‘start’ before deleting)
  2. Open the client. It displays the currently active games correctly.
  3. However after clicking ‘Refresh’, it now displays the old deleted games, and not the current ones.

To elaborate, on opening the client gets the game list from this url: https://api.playyourdamnturn.com/user/getCurrent

But on refresh it gets it from here: https://prod-civx-saves.s3.amazonaws.com/.../gameCache.json

Yeah, the json is a cached version of the game list, we pull it from there other than the initial refresh because that’s cheaper than a call to the live service. The problem is the cache update usually happens in a background process after the game is updated, but if the game is deleted there’s no game to update. :slight_smile: I’ll have to think about a good fix for this, but it should resolve itself the next time you play a turn.