Whoops
This commit is contained in:
@@ -312,6 +312,7 @@ class FlxSound extends FlxBasic {
|
||||
_source = null;
|
||||
_sound = null;
|
||||
|
||||
if (autoDestroy) persist = false;
|
||||
reset();
|
||||
}
|
||||
else if (_channel != null && _channel.__isValid) {
|
||||
|
||||
@@ -131,7 +131,7 @@ class TreeMenuScreen extends FlxSpriteGroup {
|
||||
if (parent == null) return destroy();
|
||||
else parent.removeMenu(this);
|
||||
|
||||
CoolUtil.playMenuSFX(CANCEL);
|
||||
CoolUtil.playMenuSFX(CANCEL).persist = true;
|
||||
}
|
||||
|
||||
public function changeSelection(change:Int, force:Bool = false) {
|
||||
|
||||
@@ -22,7 +22,7 @@ class TextOption extends OptionType {
|
||||
}
|
||||
|
||||
public function new(text:String, desc:String, ?suffix:String = "", ?selectCallback:Void->Void = null) {
|
||||
this.suffix = suffix;
|
||||
@:bypassAccessor this.suffix = suffix;
|
||||
this.selectCallback = selectCallback;
|
||||
|
||||
__text = new Alphabet(20, 20, "", "bold");
|
||||
|
||||
Reference in New Issue
Block a user