diff options
author | kobewi <kobewi4e@gmail.com> | 2023-12-18 15:46:56 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-01-09 16:11:47 +0100 |
commit | 0e8f90f4c8b4b353d3ac372e5f00493a2f0bd136 (patch) | |
tree | 9b83683d86b94f9fdf7d6d58594d2b28d88a13ab /core/variant/callable.cpp | |
parent | 8297ec949bad8029372da13e1d4e36599989b5ae (diff) | |
download | redot-engine-0e8f90f4c8b4b353d3ac372e5f00493a2f0bd136.tar.gz |
Update deferred calls to use Callables
Diffstat (limited to 'core/variant/callable.cpp')
-rw-r--r-- | core/variant/callable.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/variant/callable.cpp b/core/variant/callable.cpp index 0b1174c873..55f687bdf9 100644 --- a/core/variant/callable.cpp +++ b/core/variant/callable.cpp @@ -31,13 +31,12 @@ #include "callable.h" #include "callable_bind.h" -#include "core/object/message_queue.h" #include "core/object/object.h" #include "core/object/ref_counted.h" #include "core/object/script_language.h" void Callable::call_deferredp(const Variant **p_arguments, int p_argcount) const { - MessageQueue::get_singleton()->push_callablep(*this, p_arguments, p_argcount); + MessageQueue::get_singleton()->push_callablep(*this, p_arguments, p_argcount, true); } void Callable::callp(const Variant **p_arguments, int p_argcount, Variant &r_return_value, CallError &r_call_error) const { |