You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Updated function argument names
This commit is contained in:
@@ -341,12 +341,12 @@ String VisualScriptFunctionCall::get_base_script() const {
|
||||
return base_script;
|
||||
}
|
||||
|
||||
void VisualScriptFunctionCall::set_singleton(const StringName &p_path) {
|
||||
void VisualScriptFunctionCall::set_singleton(const StringName &p_type) {
|
||||
|
||||
if (singleton == p_path)
|
||||
if (singleton == p_type)
|
||||
return;
|
||||
|
||||
singleton = p_path;
|
||||
singleton = p_type;
|
||||
Object *obj = ProjectSettings::get_singleton()->get_singleton_object(singleton);
|
||||
if (obj) {
|
||||
base_type = obj->get_class();
|
||||
|
||||
Reference in New Issue
Block a user