From: BuddyFriendGuy Date: Fri, 12 Jun 2015 23:26:07 +0000 (-0400) Subject: disable the Public Server address bar X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=14da9f168060187ec433d1201003e7e6899240ad;p=xonotic%2Fxonotic-data.pk3dir.git disable the Public Server address bar --- diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_join_public.qc b/qcsrc/menu/xonotic/dialog_multiplayer_join_public.qc index 87307003e..c0e3b9256 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_join_public.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_join_public.qc @@ -60,6 +60,8 @@ void XonoticServerListTab_fill(entity me) me.gotoRC(me, me.rows - 2, 0); me.TD(me, 1, 0.6, e = makeXonoticTextLabel(0, _("Address:"))); me.TD(me, 1, 2.9, e = makeXonoticInputBox(0, string_null)); + // make this a readonly textbox; the customizable address function is moved to Private Server section + e.disabled = true; e.tooltip = getZonedTooltipForIdentifier("XonoticMultiplayerDialog/Public/Address"); e.onEnter = ServerList_Connect_Click; e.onEnterEntity = slist;