mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-09-12 05:07:06 +00:00
Override F4 behavior
This commit is contained in:
parent
d7a15dc713
commit
05044d9af3
|
@ -1818,6 +1818,13 @@ class ChartEditorState extends HaxeUIState
|
|||
|
||||
public override function update(elapsed:Float):Void
|
||||
{
|
||||
// Override F4 behavior to include the autosave.
|
||||
if (FlxG.keys.justPressed.F4)
|
||||
{
|
||||
quitChartEditor();
|
||||
return;
|
||||
}
|
||||
|
||||
// dispatchEvent gets called here.
|
||||
super.update(elapsed);
|
||||
|
||||
|
|
Loading…
Reference in a new issue