You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -847,7 +847,7 @@ void ActionMapEditor::_tree_button_pressed(Object *p_item, int p_column, int p_i
|
||||
int event_index = item->get_meta("__index");
|
||||
|
||||
Array events = action["events"];
|
||||
events.remove(event_index);
|
||||
events.remove_at(event_index);
|
||||
action["events"] = events;
|
||||
|
||||
emit_signal(SNAME("action_edited"), action_name, action);
|
||||
|
||||
Reference in New Issue
Block a user