summaryrefslogtreecommitdiff
path: root/src/map/script-parse.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script-parse.py')
-rw-r--r--src/map/script-parse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script-parse.py b/src/map/script-parse.py
index 199e348..3346b92 100644
--- a/src/map/script-parse.py
+++ b/src/map/script-parse.py
@@ -106,7 +106,7 @@ class ScriptBuffer(object):
code_begin = code['_M_impl']['_M_start']
code_end = code['_M_impl']['_M_finish']
code_size = int(code_end - code_begin)
- r = iter(range(code_size))
+ r = iter(list(range(code_size)))
for i in r:
buf = []
for label in labels_dict.get(i, []):