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>
main
sigonasr2 2 years ago
parent 2ee64f8007
commit 511c9e4daf
  1. BIN
      bunnygirls.zip
  2. 2
      src/sig/RabiClone.java

Binary file not shown.

@ -235,7 +235,7 @@ public class RabiClone {
continue; continue;
} }
if (!CONTROLLERS[i].poll()) { 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++) { for (int j = 0; j < CONTROLLERS.length; j++) {
if (j != i) { if (j != i) {
newArr[(j > i ? j - 1 : j)] = CONTROLLERS[i]; newArr[(j > i ? j - 1 : j)] = CONTROLLERS[i];

Loading…
Cancel
Save