From a62f4af7ba86f612e558ecf11c8d4070b4e3fdac Mon Sep 17 00:00:00 2001 From: George Marques Date: Wed, 25 Jul 2018 17:01:01 -0300 Subject: GDScript: Enable built-in function introspection in non-tools Only for debug builds. Fix problems in non-tools targets. --- modules/gdscript/gdscript_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/gdscript/gdscript_functions.cpp b/modules/gdscript/gdscript_functions.cpp index 63286b2e91..f2e52d48dd 100644 --- a/modules/gdscript/gdscript_functions.cpp +++ b/modules/gdscript/gdscript_functions.cpp @@ -1412,7 +1412,7 @@ bool GDScriptFunctions::is_deterministic(Function p_func) { MethodInfo GDScriptFunctions::get_info(Function p_func) { -#ifdef TOOLS_ENABLED +#ifdef DEBUG_ENABLED //using a switch, so the compiler generates a jumptable switch (p_func) { -- cgit v1.2.3