Fix return value in core/automation.h (#6314)

This commit is contained in:
星野SKY 2024-03-02 13:53:12 +08:00 committed by GitHub
parent 4aeb8e8081
commit 11cae03769
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -218,7 +218,7 @@ template<typename... Ts> class ActionList {
/// Return the number of actions in this action list that are currently running.
int num_running() {
if (this->actions_begin_ == nullptr)
return false;
return 0;
return this->actions_begin_->num_running_total();
}