From 0fed35a1fe236bb75cebaf1c200487838ebbe7d1 Mon Sep 17 00:00:00 2001 From: "Wei-Cheng Yeh (IID)" Date: Mon, 10 Mar 2025 00:53:59 +0800 Subject: [PATCH] fix(global_funcs.py): fix values for `COURSE:Tower` (5) & `COURSE:Dan` (6) were swapped --- global_funcs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global_funcs.py b/global_funcs.py index 02e9ba5..aae7546 100644 --- a/global_funcs.py +++ b/global_funcs.py @@ -141,9 +141,9 @@ class TJAParser: elif 'DEMOSTART' in item: self.demo_start = float(item.split(':')[1]) elif 'COURSE' in item: course = str(item.split(':')[1]).lower() - if course == 'tower' or course == '6': + if course == 'dan' or course == '6': self.course_data[6] = [] - if course == 'dan' or course == '5': + if course == 'tower' or course == '5': self.course_data[5] = [] elif course == 'edit' or course == '4': self.course_data[4] = []