}
/**
- * Same as `entcs_GetTeam`, but returns -1 for no team
+ * Same as `entcs_GetTeam`, but returns -1 for no team in teamplay
*/
int entcs_GetScoreTeam(int i)
{
int t = entcs_GetTeam(i);
- if (!t) t = -1;
+ if (teamplay && !t) t = -1;
return t;
}