1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-23 21:56:46 +00:00

Fix a merge issue.

This commit is contained in:
EliteMasterEric 2024-05-28 01:37:30 -04:00
parent 3b5e85d050
commit 9a47666fc7

View file

@ -997,7 +997,7 @@ class Controls extends FlxActionSet
for (control in Control.createAll())
{
var inputs:Array<Int> = Reflect.field(data, control.getName());
inputs = inputs.unique();
inputs = inputs.distinct();
if (inputs != null)
{
if (inputs.length == 0) {
@ -1050,7 +1050,7 @@ class Controls extends FlxActionSet
if (inputs.length == 0) {
inputs = [FlxKey.NONE];
} else {
inputs = inputs.unique();
inputs = inputs.distinct();
}
Reflect.setField(data, control.getName(), inputs);