Bringing in Unstable2 changes

This commit is contained in:
aerinon
2021-02-18 13:19:08 -07:00
13 changed files with 118 additions and 30 deletions

View File

@@ -148,7 +148,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: