0

Create RegionSets via the World object

This commit is contained in:
Andrew Chin
2012-01-21 19:04:21 -05:00
parent c63029a14d
commit 163dd66a38
5 changed files with 23 additions and 11 deletions

View File

@@ -138,7 +138,7 @@ class World(object):
mcrs = filter(lambda x: x.endswith(".mcr"), files)
if mcrs:
# construct a regionset object for this
rset = RegionSet(self, root)
rset = RegionSet(root)
if root == os.path.join(self.worlddir, "region"):
self.regionsets.insert(0, rset)
else: