mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Add missing return for typeof() MethodInfo
This commit is contained in:
parent
e4a2458d4c
commit
e38b797c97
1 changed files with 4 additions and 1 deletions
|
|
@ -1254,9 +1254,12 @@ MethodInfo GDFunctions::get_info(Function p_func) {
|
|||
return mi;
|
||||
} break;
|
||||
case TYPE_OF: {
|
||||
|
||||
MethodInfo mi("typeof",PropertyInfo(Variant::NIL,"what"));
|
||||
mi.return_val.type=Variant::INT;
|
||||
};
|
||||
return mi;
|
||||
|
||||
} break;
|
||||
case TEXT_STR: {
|
||||
|
||||
MethodInfo mi("str",PropertyInfo(Variant::NIL,"what"),PropertyInfo(Variant::NIL,"..."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue