Pot shuffle repair

This commit is contained in:
aerinon
2021-02-16 13:34:00 -07:00
parent 26f7b1c993
commit b36c03a8b4
3 changed files with 10 additions and 4 deletions

View File

@@ -146,7 +146,9 @@ class World(object):
region.world = self
self._region_cache[region.player][region.name] = region
for exit in region.exits:
self._entrance_cache[(exit.name, exit.player)] = exit
self._entrance_cache[exit.name, exit.player] = exit
for r_location in region.locations:
self._location_cache[r_location.name, r_location.player] = r_location
def initialize_doors(self, doors):
for door in doors: