From 85ebb48af14c91276926f0777eb3d9bd0b41605a Mon Sep 17 00:00:00 2001 From: yang <2101461382@qq.com> Date: Mon, 20 May 2024 13:59:00 +0800 Subject: [PATCH] [Fixed] Missing return --- src/strategy/actions/AcceptDuelAction.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/strategy/actions/AcceptDuelAction.cpp b/src/strategy/actions/AcceptDuelAction.cpp index a48c9d5d..8c41378b 100644 --- a/src/strategy/actions/AcceptDuelAction.cpp +++ b/src/strategy/actions/AcceptDuelAction.cpp @@ -21,6 +21,7 @@ bool AcceptDuelAction::Execute(Event event) WorldPacket packet(CMSG_DUEL_CANCELLED, 8); packet << flagGuid; bot->GetSession()->HandleDuelCancelledOpcode(packet); + return false; } WorldPacket packet(CMSG_DUEL_ACCEPTED, 8);