Fix 2 typos

This commit is contained in:
Jeroen 2017-09-14 10:31:43 +02:00
parent 3f4062c708
commit ca5abae1e7
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@
</method>
</methods>
<members>
<member name="/constant" type="String" setter="set_singleton" getter="get_singleton">
<member name="constant" type="String" setter="set_singleton" getter="get_singleton">
</member>
</members>
<constants>

View file

@ -2002,7 +2002,7 @@ void VisualScriptEngineSingleton::_bind_methods() {
cc += E->get().name;
}
ADD_PROPERTY(PropertyInfo(Variant::STRING, "/constant", PROPERTY_HINT_ENUM, cc), "set_singleton", "get_singleton");
ADD_PROPERTY(PropertyInfo(Variant::STRING, "constant", PROPERTY_HINT_ENUM, cc), "set_singleton", "get_singleton");
}
VisualScriptEngineSingleton::VisualScriptEngineSingleton() {