diff --git a/assets/images/editors/ui/warning-popup.png b/assets/images/editors/ui/warning-popup.png index d7fc0ec6..d8fa5d3f 100644 Binary files a/assets/images/editors/ui/warning-popup.png and b/assets/images/editors/ui/warning-popup.png differ diff --git a/buildnumber.txt b/buildnumber.txt index d567531c..c223971b 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -2534 \ No newline at end of file +2536 \ No newline at end of file diff --git a/source/funkin/editors/ui/UIWarningSubstate.hx b/source/funkin/editors/ui/UIWarningSubstate.hx index 60343367..38d5e609 100644 --- a/source/funkin/editors/ui/UIWarningSubstate.hx +++ b/source/funkin/editors/ui/UIWarningSubstate.hx @@ -46,6 +46,8 @@ class UIWarningSubstate extends MusicBeatSubstate { FlxTween.tween(camera, {alpha: 1}, 0.25, {ease: FlxEase.cubeOut}); FlxTween.tween(camera, {zoom: 1}, 0.66, {ease: FlxEase.elasticOut}); + + CoolUtil.playMenuSFX(WARNING); } public override function destroy() { diff --git a/source/funkin/utils/CoolUtil.hx b/source/funkin/utils/CoolUtil.hx index a6966533..7ed4c2a2 100644 --- a/source/funkin/utils/CoolUtil.hx +++ b/source/funkin/utils/CoolUtil.hx @@ -195,6 +195,7 @@ class CoolUtil case SCROLL: 'menu/scroll'; case CHECKED: 'menu/checkboxChecked'; case UNCHECKED: 'menu/checkboxUnchecked'; + case WARNING: 'menu/warningMenu'; default: 'menu/scroll'; }), volume); } @@ -417,4 +418,5 @@ enum abstract CoolSfx(Int) from Int { var CANCEL = 2; var CHECKED = 3; var UNCHECKED = 4; + var WARNING = 5; } \ No newline at end of file