mirror of
https://github.com/tiennm99/godot.git
synced 2026-06-26 01:05:53 +00:00
802a0316c5
Previously `joypad_count` was used as the index into the d_joypads array when initializing a new gamepad. This caused the accidental override of an already connected device when a gamepad with a lower id was disconnected and connected again. fixes #17566