From 2d524b1935488d5783c85f7cd279acd2df3ddba0 Mon Sep 17 00:00:00 2001 From: Lierrmm Date: Fri, 17 Feb 2023 07:18:16 +0000 Subject: [PATCH] fix: add 'ServerBrowserCancelRequest(self)' before JoinServerBrowser call --- data/ui_scripts/doubleclick_join_server/__init__.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/data/ui_scripts/doubleclick_join_server/__init__.lua b/data/ui_scripts/doubleclick_join_server/__init__.lua index 30f4ef08..87c788b2 100644 --- a/data/ui_scripts/doubleclick_join_server/__init__.lua +++ b/data/ui_scripts/doubleclick_join_server/__init__.lua @@ -19,6 +19,7 @@ CoD.ServerBrowserRow.new = function ( menu, controller ) if CoD.isPC then self:registerEventHandler( "leftmousedown", function () if self:isInFocus() then + ServerBrowserCancelRequest( self ) JoinServerBrowser( self, self, controller, menu ) end end )