Fixed the concurrent modification problem with the gamepad linked list

This commit is contained in:
Diego Waxemberg
2013-12-11 22:05:38 -05:00
parent 7cf2d1a946
commit 2935403046

View File

@@ -44,7 +44,6 @@ public class GamepadHandler {
while (true) {
for (Gamepad gamepad : gamepads) {
if (!gamepad.poll()) {
gamepads.remove(gamepad);
break;
}
gamepad.handleEvents();