Fix some merge conflicts

This commit is contained in:
EliteMasterEric 2024-05-24 16:44:12 -04:00
parent 98505e58ec
commit dd3e241f0c

View file

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