This commit is contained in:
aozhiwei 2023-10-23 10:47:41 +08:00
parent 7b6ff961bc
commit b1eed57dd9

View File

@ -79,12 +79,6 @@ bool BaseAgent::PreEnterCoroutine(int co_id, behaviac::EBTStatus& status)
if (co->status != behaviac::BT_RUNNING) {
abort();
}
#if 0
if (owner_->room->GetFrameNo() < co->sleep_end_frameno) {
status = behaviac::BT_RUNNING;
return true;
}
#endif
co->status = co->runing_cb();
status = co->status;
if (co->status != behaviac::BT_RUNNING) {