remove some missed nonlocal world references

that would refer to a different world after copying it
It is static data though, so it hasn't created an actual bug (yet)
This commit is contained in:
Fabian Dill
2021-03-14 22:59:41 +01:00
parent 3d93f659e3
commit 91c0650b42
2 changed files with 5 additions and 5 deletions

View File

@@ -25,9 +25,9 @@ class MultiWorld():
er_seeds: Dict[int, str]
def __init__(self, players: int):
# TODO: move per-player settings into new classes per game-type instead of clumping it all together here
self.random = random.Random() # world-local random state is saved in case of future use a
# persistently running program with multiple worlds rolling concurrently
self.random = random.Random() # world-local random state is saved for multiple generations running concurrently
self.players = players
self.teams = 1
self.algorithm = 'balanced'