From 7f1799acfe57e658fbab3be85d7c94bfcfc10f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Fri, 5 Apr 2024 01:31:01 +0500 Subject: [PATCH] Fix level loading. --- levels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/levels.py b/levels.py index 560258b..111bfe4 100644 --- a/levels.py +++ b/levels.py @@ -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(', ')))