Skip to content

Commit

Permalink
fix directConnect always selecting server 0
Browse files Browse the repository at this point in the history
  • Loading branch information
McDiod committed Dec 8, 2018
1 parent 072024a commit 2d8e941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/ui/functions/directConnect/fn_connectToServer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ onEachFrame {
};

if (_serverData isEqualTo format ["138.201.30.228:%1",GVAR(directConnectPort)]) exitWith {
findDisplay IDD_MULTIPLAYER displayCtrl IDC_MULTI_SESSIONS lbSetCurSel 0;
findDisplay IDD_MULTIPLAYER displayCtrl IDC_MULTI_SESSIONS lbSetCurSel _i;

onEachFrame {
ctrlActivate (findDisplay IDD_MULTIPLAYER displayCtrl IDC_MULTI_JOIN);
Expand Down

0 comments on commit 2d8e941

Please sign in to comment.