Skip to content

Commit

Permalink
Fixing the split vocals not pausing issue in charter (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
NyxieFemboy authored Nov 24, 2024
1 parent f671055 commit 4bf58ae
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ latest/windows/haxe/
.haxelib/
pages/
docs/doc.xml
mods/Baldi's Basics in Funkin'/
mods/*
!mods/readme.txt
1 change: 1 addition & 0 deletions source/funkin/editors/charter/ChartDataScreen.hx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class ChartDataScreen extends UISubstateWindow {
public override function create() {
FlxG.sound.music.pause();
Charter.instance.vocals.pause();
for (strumLine in Charter.instance.strumLines.members) strumLine.vocals.pause();

winTitle = 'Chart Properties';
winWidth = 420; winHeight = 230; // guys look, the funny numbers!
Expand Down
1 change: 1 addition & 0 deletions source/funkin/editors/charter/CharterEventScreen.hx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class CharterEventScreen extends UISubstateWindow {

FlxG.sound.music.pause(); // prevent the song from continuing
Charter.instance.vocals.pause();
for (strumLine in Charter.instance.strumLines.members) strumLine.vocals.pause();

events = chartEvent.events.copy();

Expand Down
1 change: 1 addition & 0 deletions source/funkin/editors/charter/CharterMetaDataScreen.hx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class CharterMetaDataScreen extends UISubstateWindow {

FlxG.sound.music.pause();
Charter.instance.vocals.pause();
for (strumLine in Charter.instance.strumLines.members) strumLine.vocals.pause();

function addLabelOn(ui:UISprite, text:String)
add(new UIText(ui.x, ui.y - 24, 0, text));
Expand Down
1 change: 1 addition & 0 deletions source/funkin/editors/charter/CharterNoteTypesList.hx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class CharterNoteTypesList extends UISubstateWindow {
public override function create() {
FlxG.sound.music.pause();
Charter.instance.vocals.pause();
for (strumLine in Charter.instance.strumLines.members) strumLine.vocals.pause();

winTitle = 'Note Types List Editor';
winWidth = 380; winHeight = 390;
Expand Down
1 change: 1 addition & 0 deletions source/funkin/editors/charter/CharterStrumlineScreen.hx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class CharterStrumlineScreen extends UISubstateWindow {

FlxG.sound.music.pause();
Charter.instance.vocals.pause();
for (strumLine in Charter.instance.strumLines.members) strumLine.vocals.pause();

super.create();

Expand Down

0 comments on commit 4bf58ae

Please sign in to comment.