1
0
mirror of synced 2025-02-03 13:13:26 +01:00

converters.py: Move currentBranch line to top of function

This commit is contained in:
Viv 2023-06-02 16:33:45 -04:00
parent a6d9feab4c
commit 96ca4ab2c0

View File

@ -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': []}