GDScript: Enable built-in function introspection in non-tools

Only for debug builds. Fix problems in non-tools targets.
This commit is contained in:
George Marques 2018-07-25 17:01:01 -03:00
parent 3d6609303b
commit a62f4af7ba
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D

View file

@ -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) {