public override bool HandlesMouseDown(int mouseX, int mouseY, MouseButton button) { if (button != MouseButton.Left) { return(true); } if (!reconnect.Disabled && reconnect.Contains(mouseX, mouseY)) { string connect = "Connecting to " + game.IPAddress + ":" + game.Port + ".."; game.Gui.SetNewScreen(new LoadingScreen(game, connect, "")); game.Server.BeginConnect(); } return(true); }