mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add missing docs for assert message in GDScript
Seems like this was overlooked in PR #31142. See also issue #17082.
This commit is contained in:
@@ -430,6 +430,8 @@ void GDScriptLanguage::get_public_functions(List<MethodInfo> *p_functions) const
|
||||
mi.name = "assert";
|
||||
mi.return_val.type = Variant::NIL;
|
||||
mi.arguments.push_back(PropertyInfo(Variant::BOOL, "condition"));
|
||||
mi.arguments.push_back(PropertyInfo(Variant::STRING, "message"));
|
||||
mi.default_arguments.push_back(String());
|
||||
p_functions->push_back(mi);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user