Fix level loading.

This commit is contained in:
bʰedoh₂ swé 2024-04-05 01:31:01 +05:00
parent 18e4dec821
commit 7f1799acfe

View File

@ -18,7 +18,7 @@ def parse_level_from_string(string):
level.append(
Segment(
bool(raw_segment[0]),
raw_segment[0] == "True",
complex(raw_segment[1]),
complex(raw_segment[2]),
tuple(map(int, raw_segment[3][1:len(raw_segment[3])-1].split(', ')))