From: FruitieX Date: Wed, 9 Jun 2010 22:46:52 +0000 (+0300) Subject: autojoin if we are still spec, and hud_config mode is on X-Git-Tag: xonotic-v0.1.0preview~541^2~74 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=245c1ccd4833c498100c779bb7915d4ecc363fe1;p=xonotic%2Fxonotic-data.pk3dir.git autojoin if we are still spec, and hud_config mode is on --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 99ce9eae4..0b0bae802 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -3961,4 +3961,8 @@ void HUD_Main (void) HUD_ShowSpeed(); if (cvar("cl_showacceleration")) HUD_ShowAcceleration(); + + if (hud_configure && spectatee_status) // try to join if we are in hud_configure mode, but still spectating (in order to get rid of motd and such) + localcmd("cmd selectteam auto; cmd join\n"); + }