From 96ca4ab2c0f83892dcfa2994f2a5735194505994 Mon Sep 17 00:00:00 2001 From: Viv Date: Fri, 2 Jun 2023 16:33:45 -0400 Subject: [PATCH] `converters.py`: Move `currentBranch` line to top of function --- tja2fumen/converters.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tja2fumen/converters.py b/tja2fumen/converters.py index 123eacf..cedc3f5 100644 --- a/tja2fumen/converters.py +++ b/tja2fumen/converters.py @@ -94,13 +94,14 @@ def preprocessTJAMeasures(tja): def convertTJAToFumen(fumen, tja): + # Hardcode currentBranch due to current lack of support for branching songs + currentBranch = 'normal' # TODO: Program in branch support fumen['measures'] = fumen['measures'][9:] tja['measures'] = preprocessTJAMeasures(tja) # Variables that will change over time due to events currentGogo = False currentHidden = False - currentBranch = 'normal' # TODO: Program in branch support # Parse TJA measures to create converted TJA -> Fumen file tjaConverted = {'measures': []}