mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Merge pull request #1 from IepIweidieng/fix-tower-dan-swapped
fix(global_funcs.py): fix values for `COURSE:Tower` (5) & `COURSE:Dan` (6) were swapped
This commit is contained in:
@@ -141,9 +141,9 @@ class TJAParser:
|
|||||||
elif 'DEMOSTART' in item: self.demo_start = float(item.split(':')[1])
|
elif 'DEMOSTART' in item: self.demo_start = float(item.split(':')[1])
|
||||||
elif 'COURSE' in item:
|
elif 'COURSE' in item:
|
||||||
course = str(item.split(':')[1]).lower()
|
course = str(item.split(':')[1]).lower()
|
||||||
if course == 'tower' or course == '6':
|
if course == 'dan' or course == '6':
|
||||||
self.course_data[6] = []
|
self.course_data[6] = []
|
||||||
if course == 'dan' or course == '5':
|
if course == 'tower' or course == '5':
|
||||||
self.course_data[5] = []
|
self.course_data[5] = []
|
||||||
elif course == 'edit' or course == '4':
|
elif course == 'edit' or course == '4':
|
||||||
self.course_data[4] = []
|
self.course_data[4] = []
|
||||||
|
|||||||
Reference in New Issue
Block a user