Optimize simplified caching system

This commit is contained in:
Kevin Cathcart
2019-07-11 00:18:30 -04:00
parent d6ff27f0a5
commit 759c1a5686
2 changed files with 24 additions and 24 deletions

View File

@@ -246,7 +246,7 @@ def copy_world(world):
# copy progress items in state
ret.state.prog_items = list(world.state.prog_items)
ret.state.stale = True
ret.state.stale = {player: True for player in range(1, world.players + 1)}
for player in range(1, world.players + 1):
set_rules(ret, player)