Skip to content

Commit 36640c1

Browse files
authored
Add variation to Week.hx so it works in storymode (#783)
1 parent 3720bc1 commit 36640c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/funkin/backend/week/Week.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ class Week {
4141
weekObj.songs.push({
4242
name: name,
4343
hide: song.getAtt('hide').getDefault('false') == "true",
44-
displayName: song.getAtt('displayName')
44+
displayName: song.getAtt('displayName'),
45+
variation: song.getAtt('variation')
4546
});
4647
} catch(e) {
4748
Logs.trace('Song at index ${k} in week $weekName cannot contain any other XML nodes in its name.', WARNING);

0 commit comments

Comments
 (0)