From c115cbcd6ae246283b6627c3ee8ac468d270f512 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Tue, 14 Feb 2023 01:36:03 -0600 Subject: [PATCH] [Hotfix] Fix Door opening regression caused by #2880 --- zone/client_packet.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index 16bf11413..006e1ec40 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -4561,11 +4561,14 @@ void Client::Handle_OP_ClickDoor(const EQApplicationPacket *app) // don't spam scripts with client controlled doors if not within distance if (within_distance) { if (parse->PlayerHasQuestSub(EVENT_CLICK_DOOR)) { - std::vector args = { currentdoor }; + std::vector args = {currentdoor}; if (parse->EventPlayer(EVENT_CLICK_DOOR, this, std::to_string(cd->doorid), 0, &args) == 0) { currentdoor->HandleClick(this, 0); } } + else { + currentdoor->HandleClick(this, 0); + } } else { // we let this pass because client controlled doors require this to force the linked doors