Fix level loading.
This commit is contained in:
parent
18e4dec821
commit
7f1799acfe
@ -18,7 +18,7 @@ def parse_level_from_string(string):
|
|||||||
|
|
||||||
level.append(
|
level.append(
|
||||||
Segment(
|
Segment(
|
||||||
bool(raw_segment[0]),
|
raw_segment[0] == "True",
|
||||||
complex(raw_segment[1]),
|
complex(raw_segment[1]),
|
||||||
complex(raw_segment[2]),
|
complex(raw_segment[2]),
|
||||||
tuple(map(int, raw_segment[3][1:len(raw_segment[3])-1].split(', ')))
|
tuple(map(int, raw_segment[3][1:len(raw_segment[3])-1].split(', ')))
|
||||||
|
Loading…
Reference in New Issue
Block a user