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 3c25765b9a
commit 300122c04f

View File

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