You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -253,7 +253,7 @@ void JoypadLinux::close_joypad(int p_id) {
|
||||
if (joy.fd != -1) {
|
||||
close(joy.fd);
|
||||
joy.fd = -1;
|
||||
attached_devices.remove(attached_devices.find(joy.devpath));
|
||||
attached_devices.remove_at(attached_devices.find(joy.devpath));
|
||||
input->joy_connection_changed(p_id, false, "");
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user