Actually set GDScript static reference

(cherry picked from commit 0f1da72492)
This commit is contained in:
George Marques 2020-05-29 10:58:46 -03:00 committed by Pedro J. Estébanez
parent e360dc9a79
commit 798ee982ac

View file

@ -386,6 +386,8 @@ Variant GDScriptFunction::call(GDScriptInstance *p_instance, const Variant **p_a
}
}
static_ref = script;
String err_text;
#ifdef DEBUG_ENABLED