bugfix: make LimboState dispatch be recursive
This commit is contained in:
parent
9fbbea49a9
commit
2b10d88a9f
|
@ -117,6 +117,9 @@ bool LimboState::dispatch(const String &p_event, const Variant &p_cargo) {
|
|||
return ret;
|
||||
}
|
||||
}
|
||||
else if (this->get_parent()->is_class("LimboState")) {
|
||||
return static_cast<LimboState*>(this->get_parent())->dispatch(p_event, p_cargo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue