forked from Mirrors/openclonk
Enable league button if an alternate server is set. To be re-enabled completely when an OC league exists (and when we have new button graphics).
parent
c1a430c561
commit
75c5ac1465
|
@ -607,11 +607,11 @@ C4GameOptionButtons::C4GameOptionButtons(const C4Rect &rcBounds, bool fNetwork,
|
|||
btnInternet->SetToolTip(LoadResStr("IDS_DLGTIP_STARTINTERNETGAME"));
|
||||
btnInternet->SetEnabled(!fIsDisabled);
|
||||
AddElement(btnInternet);
|
||||
}
|
||||
}
|
||||
else btnInternet = NULL;
|
||||
bool fIsLeague = false;
|
||||
// League button disabled (#479, re-enable when an OC league exists)
|
||||
if (0 && fNetwork)
|
||||
// League button disabled by default, but enabled if a custom league server is set (#479, re-enable completely when an OC league exists)
|
||||
if (fNetwork && ::Config.Network.UseAlternateServer)
|
||||
{
|
||||
C4GUI::Icons eLeagueIcon;
|
||||
fIsLeague = fLobby ? Game.Parameters.isLeague() : !!Config.Network.LeagueServerSignUp;
|
||||
|
|
Loading…
Reference in New Issue