diff --git a/server/gameserver/btcoroutine.h b/server/gameserver/btcoroutine.h index 3f546c68..7b207b0e 100644 --- a/server/gameserver/btcoroutine.h +++ b/server/gameserver/btcoroutine.h @@ -13,7 +13,7 @@ class BtCoroutine long long sleep_end_frameno = 0; int sleep_time = 0; list_head entry; - behaviac::EBTStatus status = behaviac::BT_INVALID; + behaviac::EBTStatus status = behaviac::BT_RUNNING; BtCoroutine(std::shared_ptr context, int id, const char* name) {