You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -58,7 +58,7 @@ void AnimationNodeBlendTreeEditor::add_custom_type(const String &p_name, const R
|
||||
void AnimationNodeBlendTreeEditor::remove_custom_type(const Ref<Script> &p_script) {
|
||||
for (int i = 0; i < add_options.size(); i++) {
|
||||
if (add_options[i].script == p_script) {
|
||||
add_options.remove(i);
|
||||
add_options.remove_at(i);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user