You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Rename Array.invert() to Array.reverse()
Does the same internally for List and Vector<>, which includes all PackedArray types.
This commit is contained in:
@@ -445,8 +445,8 @@ int Array::bsearch_custom(const Variant &p_value, Callable p_callable, bool p_be
|
||||
return bisect(_p->array, p_value, p_before, less);
|
||||
}
|
||||
|
||||
void Array::invert() {
|
||||
_p->array.invert();
|
||||
void Array::reverse() {
|
||||
_p->array.reverse();
|
||||
}
|
||||
|
||||
void Array::push_front(const Variant &p_value) {
|
||||
|
||||
Reference in New Issue
Block a user