Add variation to Week.hx so it works in storymode (#783)

This commit is contained in:
Mooshie
2025-11-16 17:46:27 +07:00
committed by GitHub
parent 3720bc149c
commit 36640c1a43
+2 -1
View File
@@ -41,7 +41,8 @@ class Week {
weekObj.songs.push({
name: name,
hide: song.getAtt('hide').getDefault('false') == "true",
displayName: song.getAtt('displayName')
displayName: song.getAtt('displayName'),
variation: song.getAtt('variation')
});
} catch(e) {
Logs.trace('Song at index ${k} in week $weekName cannot contain any other XML nodes in its name.', WARNING);