diff -r 1a754860b0e5 -r e3b3fa42a93b hedgewars/uTeams.pas --- a/hedgewars/uTeams.pas Sun May 26 14:16:35 2019 +0200 +++ b/hedgewars/uTeams.pas Sun May 26 14:27:55 2019 +0200 @@ -563,7 +563,8 @@ begin if (not ExtDriven) and (Hedgehogs[0].BotLevel = 0) then begin - Clan^.LocalOrAlly:= true; + if (MissionTeam = nil) or (MissionTeam^.TeamName = TeamName) then + Clan^.LocalOrAlly:= true; LocalTeam:= t; LocalAmmo:= Hedgehogs[0].AmmoStore end;