me.TR(me);
me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Corona brightness:")));
me.TD(me, 1, 2, e = makeXonoticSlider_T(0, 1.5, 0.1, "r_coronas",
- _("Flare effects around certain lights, default 1")));
+ _("Flare effects around certain lights")));
me.TR(me);
me.TDempty(me, 0.2);
me.TD(me, 1, 2.8, e = makeXonoticCheckBox_T(0, "r_coronas_occlusionquery", _("Fade coronas according to visibility"),
}
else
{
- SetPlayerTeam(this, -1, TEAM_CHANGE_SPECTATOR);
+ SetPlayerTeam(this, -1, TEAM_CHANGE_SPECTATOR); // clears scores too in game modes without teams
this.frags = FRAGS_SPECTATOR;
}
Unfreeze(this, false);
MUTATOR_CALLHOOK(PlayerSpawn, this, spot);
-
{
string s = spot.target;
if(g_assault || g_race) // TODO: make targeting work in assault & race without this hack
if (team_index != old_team_index)
{
KillPlayerForTeamChange(player);
- PlayerScore_Clear(player);
+ PlayerScore_Clear(player); // works only in game modes without teams
CS(player).parm_idlesince = time;
if (!IS_BOT_CLIENT(player))