From 54a9a6f55f754bf6fd970ac4afda579ea6b15965 Mon Sep 17 00:00:00 2001 From: Fredrik Lindahl Date: Sat, 16 Nov 2024 00:36:22 +0100 Subject: [PATCH] Fixed compile issue. --- toolkit/editor/editorfeature/editorfeatureunit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/editor/editorfeature/editorfeatureunit.cc b/toolkit/editor/editorfeature/editorfeatureunit.cc index 853ab060c..894178353 100644 --- a/toolkit/editor/editorfeature/editorfeatureunit.cc +++ b/toolkit/editor/editorfeature/editorfeatureunit.cc @@ -47,7 +47,7 @@ EditorFeatureUnit::~EditorFeatureUnit() void EditorFeatureUnit::OnAttach() { - Game::RegisterType(); + this->RegisterComponentType(); Scripting::RegisterEditorBinds(); }