|
@@ -2727,8 +2727,6 @@ void GDScriptLanguage::reload_tool_script(const Ref<Script> &p_script, bool p_so
|
|
|
}
|
|
|
|
|
|
void GDScriptLanguage::frame() {
|
|
|
- calls = 0;
|
|
|
-
|
|
|
#ifdef DEBUG_ENABLED
|
|
|
if (profiling) {
|
|
|
MutexLock lock(mutex);
|
|
@@ -2942,7 +2940,6 @@ String GDScriptLanguage::get_global_class_name(const String &p_path, String *r_b
|
|
|
thread_local GDScriptLanguage::CallStack GDScriptLanguage::_call_stack;
|
|
|
|
|
|
GDScriptLanguage::GDScriptLanguage() {
|
|
|
- calls = 0;
|
|
|
ERR_FAIL_COND(singleton);
|
|
|
singleton = this;
|
|
|
strings._init = StaticCString::create("_init");
|