1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-10 00:34:40 +00:00

flicker on accept

This commit is contained in:
George FunBook 2021-02-15 16:04:08 -06:00
parent d6f6cc3ca9
commit d3a873037d
2 changed files with 4 additions and 3 deletions

View file

@ -1,11 +1,9 @@
package;
import flixel.util.FlxTimer;
import flixel.FlxState;
import cpp.abi.Abi;
import flixel.FlxG;
import flixel.FlxObject;
import flixel.FlxSprite;
import flixel.FlxState;
import flixel.addons.transition.FlxTransitionableState;
import flixel.effects.FlxFlicker;
import flixel.graphics.frames.FlxAtlasFrames;
@ -14,6 +12,7 @@ import flixel.text.FlxText;
import flixel.tweens.FlxEase;
import flixel.tweens.FlxTween;
import flixel.util.FlxColor;
import flixel.util.FlxTimer;
import io.newgrounds.NG;
import lime.app.Application;

View file

@ -65,6 +65,8 @@ class MenuTypedItemList<T:MenuItem> extends FlxTypedGroup<T>
public function accept()
{
var selected = members[selectedIndex];
onAcceptPress.dispatch(selected);
if (selected.fireInstantly)
selected.callback();
else