diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-05-19 20:30:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 20:30:42 +0200 |
commit | 0942ddfa2b803e1a881eaf5cb181adc1e5077dc2 (patch) | |
tree | 7e939ad28ad52d4254cb66eaf0e45a086e04f687 /modules | |
parent | c2151e18135817c9f926a5a00341016ac77301d4 (diff) | |
parent | 1f0548efd4c73178364ba99a54ae00f5483d41ac (diff) |
Merge pull request #38861 from RandomShaper/fix_gdsfs_eager_stack_clear
Fix too eager GDScriptFunctionState stack cleanup
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdscript/gdscript_function.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_function.cpp b/modules/gdscript/gdscript_function.cpp index 92e07ab874..fc0c4b3138 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 { |