public void TakeSide(LaunchPacket info, int team, bool isPlayer = false)
{
//owned by same team
if (info.Paint)
{
if (timeToBeTaken < 0 || // if there is no time to be taken
info.GameTimeETA < timeToBeTaken && timeLastTaken + LOCKINTERVAL < info.GameTimeETA)//if eta is less then the current time to be taken and we can take it becuase its not locked
{
willPaint = true;
}
}
timeToBeTaken = info.GameTimeETA;
currentTeamClaim = team;
_isPlayer = isPlayer;
}