From c6e4e1f044df5a5b42842203a5dccf04b97b25bf Mon Sep 17 00:00:00 2001 From: Mooshie Date: Sat, 27 Sep 2025 13:15:58 -0700 Subject: [PATCH] Add variation to Week.hx so it works in storymode --- source/funkin/backend/week/Week.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/funkin/backend/week/Week.hx b/source/funkin/backend/week/Week.hx index d9f369220..5929d69c1 100644 --- a/source/funkin/backend/week/Week.hx +++ b/source/funkin/backend/week/Week.hx @@ -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);