[Fixed] Missing return

This commit is contained in:
yang
2024-05-20 13:59:00 +08:00
parent 0d04a67d87
commit 85ebb48af1

View File

@@ -21,6 +21,7 @@ bool AcceptDuelAction::Execute(Event event)
WorldPacket packet(CMSG_DUEL_CANCELLED, 8); WorldPacket packet(CMSG_DUEL_CANCELLED, 8);
packet << flagGuid; packet << flagGuid;
bot->GetSession()->HandleDuelCancelledOpcode(packet); bot->GetSession()->HandleDuelCancelledOpcode(packet);
return false;
} }
WorldPacket packet(CMSG_DUEL_ACCEPTED, 8); WorldPacket packet(CMSG_DUEL_ACCEPTED, 8);