From 624856e9144c03f6b029f89b52c9b9befaeba2b6 Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Thu, 8 Aug 2024 22:19:40 -0400 Subject: [PATCH] GH-682 Fix type resolution --- src/script/variable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/variable.cpp b/src/script/variable.cpp index 00a3b6a6..18d8dea1 100644 --- a/src/script/variable.cpp +++ b/src/script/variable.cpp @@ -290,7 +290,7 @@ void OScriptVariable::set_classification(const String& p_classification) _info.type = Variant::OBJECT; _info.hint = PROPERTY_HINT_NODE_TYPE; _info.hint_string = class_name; - _info.class_name = ""; + _info.class_name = class_name; _info.usage = PROPERTY_USAGE_DEFAULT; } else