Skip to content
Browse files

Typofix

  • Loading branch information...
1 parent c75a4a7 commit 6dfe8d954bbcf0422e7eab86588efff8575aa48d @erdbeere erdbeere committed Jul 18, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 tml/tml.py
View
6 tml/tml.py
@@ -237,7 +237,7 @@ def load(self, map_path):
last_offset = offset
f.seek(item_start_offset)
- self.layers = []
+ layers = []
self.envpoints = []
race = False
for item_type in self.item_types:
@@ -269,7 +269,7 @@ def load(self, map_path):
for group in self.groups:
start = group.start_layer
end = group.start_layer + group.num_layers
- group.layers = [layer for layer in self.layers[start:end]]
+ group.layers = [layer for layer in layers[start:end]]
# usefull for some people like bnn :P
return self
@@ -296,4 +296,4 @@ def create_default(self):
if __name__ == '__main__':
t = Teemap()
- t.load('dm1_test')
+ t.load('tml/maps/dm1')

0 comments on commit 6dfe8d9

Please sign in to comment.
Something went wrong with that request. Please try again.