mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-05 06:14:36 +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
|
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.
|
// dispatchEvent gets called here.
|
||||||
super.update(elapsed);
|
super.update(elapsed);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue