Bläddra i källkod

Actually set GDScript static reference

George Marques 5 år sedan
förälder
incheckning
0f1da72492
1 ändrade filer med 2 tillägg och 0 borttagningar
  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;
 	String err_text;
 
 
 #ifdef DEBUG_ENABLED
 #ifdef DEBUG_ENABLED