You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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:
@@ -298,7 +298,7 @@ struct GDScriptUtilityFunctionsDefinitions {
|
||||
sname.push_back(p->name);
|
||||
p = p->_owner;
|
||||
}
|
||||
sname.invert();
|
||||
sname.reverse();
|
||||
|
||||
if (!p->path.is_resource_file()) {
|
||||
r_error.error = Callable::CallError::CALL_ERROR_INVALID_ARGUMENT;
|
||||
|
||||
Reference in New Issue
Block a user