Fixing the split vocals not pausing issue in charter (#456)
This commit is contained in:
+2
-1
@@ -8,4 +8,5 @@ latest/windows/haxe/
|
||||
.haxelib/
|
||||
pages/
|
||||
docs/doc.xml
|
||||
mods/Baldi's Basics in Funkin'/
|
||||
mods/*
|
||||
!mods/readme.txt
|
||||
@@ -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!
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user