fix: add 'ServerBrowserCancelRequest(self)' before JoinServerBrowser call

This commit is contained in:
Lierrmm 2023-02-17 07:18:16 +00:00
parent 2c81c4c6df
commit 2d524b1935

View File

@ -19,6 +19,7 @@ CoD.ServerBrowserRow.new = function ( menu, controller )
if CoD.isPC then if CoD.isPC then
self:registerEventHandler( "leftmousedown", function () self:registerEventHandler( "leftmousedown", function ()
if self:isInFocus() then if self:isInFocus() then
ServerBrowserCancelRequest( self )
JoinServerBrowser( self, self, controller, menu ) JoinServerBrowser( self, self, controller, menu )
end end
end ) end )