You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -152,7 +152,7 @@ public:
|
||||
void erase_item(Item *p_item) {
|
||||
int idx = find_item(p_item);
|
||||
if (idx >= 0) {
|
||||
child_items.remove(idx);
|
||||
child_items.remove_at(idx);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user