Fix removing 2 controllers from array for some reason
Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
2ee64f8007
commit
511c9e4daf
BIN
bunnygirls.zip
Normal file
BIN
bunnygirls.zip
Normal file
Binary file not shown.
@ -235,7 +235,7 @@ public class RabiClone {
|
||||
continue;
|
||||
}
|
||||
if (!CONTROLLERS[i].poll()) {
|
||||
Controller[] newArr = new Controller[CONTROLLERS.length - 2];
|
||||
Controller[] newArr = new Controller[CONTROLLERS.length - 1];
|
||||
for (int j = 0; j < CONTROLLERS.length; j++) {
|
||||
if (j != i) {
|
||||
newArr[(j > i ? j - 1 : j)] = CONTROLLERS[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user