diff options
author | Lars Kokemohr <lars@lkokemohr.de> | 2018-03-14 16:42:13 +0100 |
---|---|---|
committer | Lars Kokemohr <lars@lkokemohr.de> | 2018-03-14 16:42:13 +0100 |
commit | 3dfef37628a3b17cca4ce5370631fb572376ed98 (patch) | |
tree | 52ca486048da1a3ccc50c82dd6a1dea3aeb7e290 /modules/gdscript/gdscript_function.h | |
parent | cd1d1f5545642236cc5d03e898eda8190b1e0e72 (diff) | |
download | redot-engine-3dfef37628a3b17cca4ce5370631fb572376ed98.tar.gz |
completed-signal is emitted by all GDScriptFunctionStates of a coroutine now, allowing to yield for completion of a function with more than one yield inside.
Diffstat (limited to 'modules/gdscript/gdscript_function.h')
-rw-r--r-- | modules/gdscript/gdscript_function.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_function.h b/modules/gdscript/gdscript_function.h index 9310444c7a..dff4bdfaf2 100644 --- a/modules/gdscript/gdscript_function.h +++ b/modules/gdscript/gdscript_function.h @@ -234,6 +234,7 @@ class GDScriptFunctionState : public Reference { GDScriptFunction *function; GDScriptFunction::CallState state; Variant _signal_callback(const Variant **p_args, int p_argcount, Variant::CallError &r_error); + Ref<GDScriptFunctionState> previous_state; protected: static void _bind_methods(); |