]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't print an extra disconnect message, also fix disconnect button description
authorMario <mario@smbclan.net>
Thu, 26 Apr 2018 07:38:03 +0000 (17:38 +1000)
committerMario <mario@smbclan.net>
Thu, 26 Apr 2018 07:38:03 +0000 (17:38 +1000)
qcsrc/menu/xonotic/dialog_multiplayer_join.qc

index cd75a0ab55bddf41e4b2560933a785e8c14729ba..4ec7e7326f9b5813587ee244ec922bcb3c10dfad 100644 (file)
@@ -81,8 +81,8 @@ void XonoticServerListTab_fill(entity me)
                        e.onClickEntity = slist;
                        slist.infoButton = e;
        me.TR(me);
-               me.TD(me, 1, 1, e = makeXonoticCommandButton_T(_("Disconnect"), '0 0 0', "echo disconnect\ndisconnect", 0,
-                       _("Disconnecting from server")));
+               me.TD(me, 1, 1, e = makeXonoticCommandButton_T(_("Disconnect"), '0 0 0', "disconnect", 0,
+                       _("Disconnect from the server")));
                        slist.disconnectButton = e;
                me.TD(me, 1, me.columns-1, e = makeXonoticButton(_("Join!"), '0 0 0'));
                        e.onClick = ServerList_Connect_Click;