Merge pull request #446 from KadeDev/fix-alt-anim-pr

Fix alt animation checkbox not saving
This commit is contained in:
Kade M 2021-05-13 13:16:08 -07:00 committed by GitHub
commit d7b1f6cdf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -34,3 +34,4 @@
- [#368](https://github.com/KadeDev/Kade-Engine/issues/368) ([PR #392](https://github.com/KadeDev/Kade-Engine/pull/392)): Fix enemy idle animations not playing before first note
- [PR #399](https://github.com/KadeDev/Kade-Engine/pulls/399): Fix downscroll typo
- [PR #431](https://github.com/KadeDev/Kade-Engine/pull/431): Fix NPS counter
- [#404](https://github.com/KadeDev/Kade-Engine/issues/404) ([PR #446](https://github.com/KadeDev/Kade-Engine/pull/446)): Fix bug where Alt Animation in charting state doesn't stay checked after going to another section then back

View File

@ -515,7 +515,7 @@ class ChartingState extends MusicBeatState
case 'Change BPM':
_song.notes[curSection].changeBPM = check.checked;
FlxG.log.add('changed bpm shit');
case "Alt Animation":
case "Alternate Animation":
_song.notes[curSection].altAnim = check.checked;
}
}
@ -670,8 +670,8 @@ class ChartingState extends MusicBeatState
else FlxG.sound.play(Paths.sound('SNAP'));
}
});
}
});
}
});
/*curRenderedNotes.forEach(function(note:Note) {
if (strumLine.overlaps(note) && strumLine.y == note.y) // yandere dev type shit
@ -1390,4 +1390,4 @@ class ChartingState extends MusicBeatState
_file = null;
FlxG.log.error("Problem saving Level data");
}
}
}