From 4d56ce9de9490bfe95e28f84eca6798a932dcc3b Mon Sep 17 00:00:00 2001 From: F1F7Y Date: Wed, 19 Jan 2022 18:05:45 +0100 Subject: Fix JOIN button --- Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Northstar.Client/mod/scripts') diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut index 7c6c93fde..b0c56b65e 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut @@ -8,7 +8,7 @@ global function ThreadedAuthAndConnectToServer // Stop peeking const int BUTTONS_PER_PAGE = 15 -const float DOUBLE_CLICK_TIME_MS = 0.3 // unsure what the ideal value is +const float DOUBLE_CLICK_TIME_MS = 0.4 // unsure what the ideal value is struct { @@ -785,6 +785,7 @@ void function OnServerButtonFocused( var button ) { int scriptID = int (Hud_GetScriptID(button)) file.serverButtonFocusedID = scriptID + file.focusedServerIndex = file.serversArrayFiltered[ file.scrollOffset + scriptID ].serverIndex DisplayFocusedServerInfo(scriptID); } @@ -802,7 +803,6 @@ void function CheckDoubleClick(int scriptID, bool wasClickNav) if ( NSGetServerCount() == 0 ) return - file.focusedServerIndex = file.serversArrayFiltered[ file.scrollOffset + scriptID ].serverIndex int serverIndex = file.scrollOffset + scriptID bool sameServer = false -- cgit v1.2.3