fixed terrain parsing
This commit is contained in:
parent
4a429a5530
commit
393de7e9f1
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class WesnothList:
|
|||
WML = self.parser.parse("{core/terrain.cfg}\n")
|
||||
|
||||
n = 0
|
||||
for terrain in WML.get_all("terrain"):
|
||||
for terrain in WML.get_all("terrain_type"):
|
||||
tid = terrain.get_text_val("id")
|
||||
self.terrain_lookup[tid] = terrain
|
||||
n += 1
|
||||
|
|
Loading…
Add table
Reference in a new issue