From 70190e74280922e598a3b3f80233aa94ea063e22 Mon Sep 17 00:00:00 2001 From: Matthias Hoelzl Date: Thu, 30 Nov 2017 23:00:28 +0100 Subject: [PATCH] Make VisualScriptFunctionState instantiable --- modules/visual_script/register_types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/visual_script/register_types.cpp b/modules/visual_script/register_types.cpp index b6ce10381d1..ecdca7eb425 100644 --- a/modules/visual_script/register_types.cpp +++ b/modules/visual_script/register_types.cpp @@ -53,7 +53,7 @@ void register_visual_script_types() { ClassDB::register_class(); ClassDB::register_virtual_class(); - ClassDB::register_virtual_class(); + ClassDB::register_class(); ClassDB::register_class(); ClassDB::register_class(); ClassDB::register_class();