From 1f0548efd4c73178364ba99a54ae00f5483d41ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Tue, 19 May 2020 16:41:14 +0200 Subject: [PATCH] Fix too eager GDScriptFunctionState stack cleanup --- modules/gdscript/gdscript_function.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/gdscript/gdscript_function.cpp b/modules/gdscript/gdscript_function.cpp index 92e07ab8746..fc0c4b31387 100644 --- a/modules/gdscript/gdscript_function.cpp +++ b/modules/gdscript/gdscript_function.cpp @@ -1818,8 +1818,6 @@ Variant GDScriptFunctionState::resume(const Variant &p_arg) { state.result = Variant(); if (completed) { - _clear_stack(); - if (first_state.is_valid()) { first_state->emit_signal("completed", ret); } else {