Switch to simpler caching system

This should speed up generating the seeds the currently take
the longest. Seems to have no impact on the average case.
This commit is contained in:
Kevin Cathcart
2019-07-08 22:48:16 -04:00
parent 54c53ea07e
commit d44d194de7
3 changed files with 29 additions and 56 deletions

View File

@@ -200,6 +200,7 @@ def copy_world(world):
# copy progress items in state
ret.state.prog_items = list(world.state.prog_items)
ret.state.stale = True
set_rules(ret)