TeamScore_AddToTeam(assault_attacker_team, ST_ASSAULT_OBJECTIVES, 666 - TeamScore_AddToTeam(assault_attacker_team, ST_ASSAULT_OBJECTIVES, 0));
- if(ent.cnt == 1 || autocvar_g_campaign) // this was the second round
+ // in campaign the game ends when the player destroys the objective, there's no second round
+ if(ent.cnt == 1 || autocvar_g_campaign) // this was the second round or the only round in campaign
{
status = WINNING_YES;
}
MUTATOR_HOOKFUNCTION(as, ReadyRestart_Deny)
{
- // readyrestart not supported (yet)
+ // readyrestart not supported
+ // it's allowed only in campaign since the campaign requires readyrestart support
+ // to do so Assault is played in single round mode
+ if (autocvar_g_campaign)
+ return false;
return true;
}