From e76a7cfdd0587ba30df0a24df7d870d0b0d55534 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 23 Oct 2023 11:19:40 +0800 Subject: [PATCH] 1 --- server/gameserver/btcoroutine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {