From 93c8b6779c9a9799a11f6131b64303f40cde247b Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Fri, 27 Dec 2024 09:39:49 -0800 Subject: [PATCH] fix template build --- compat/fake_script.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compat/fake_script.cpp b/compat/fake_script.cpp index 435c0d73..5aa7fb2d 100644 --- a/compat/fake_script.cpp +++ b/compat/fake_script.cpp @@ -110,6 +110,7 @@ Error FakeGDScript::reload(bool p_keep_state) { return OK; } +#ifdef TOOLS_ENABLED StringName FakeGDScript::get_doc_class_name() const { return global_name; } @@ -125,6 +126,7 @@ String FakeGDScript::get_class_icon_path() const { PropertyInfo FakeGDScript::get_class_category() const { return {}; } +#endif bool FakeGDScript::has_method(const StringName &p_method) const { return false;