Преглед изворни кода

Actually set GDScript static reference

George Marques пре 5 година
родитељ
комит
0f1da72492
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      modules/gdscript/gdscript_function.cpp

+ 2 - 0
modules/gdscript/gdscript_function.cpp

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