Fix too eager GDScriptFunctionState stack cleanup
This commit is contained in:
parent
004ca80f01
commit
1f0548efd4
1 changed files with 0 additions and 2 deletions
|
@ -1818,8 +1818,6 @@ Variant GDScriptFunctionState::resume(const Variant &p_arg) {
|
||||||
state.result = Variant();
|
state.result = Variant();
|
||||||
|
|
||||||
if (completed) {
|
if (completed) {
|
||||||
_clear_stack();
|
|
||||||
|
|
||||||
if (first_state.is_valid()) {
|
if (first_state.is_valid()) {
|
||||||
first_state->emit_signal("completed", ret);
|
first_state->emit_signal("completed", ret);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue