fix errors

This commit is contained in:
Evil Factory
2021-12-15 15:35:10 -03:00
parent bb1631a21c
commit 24f63c78cb
8 changed files with 19 additions and 7 deletions
@@ -2395,10 +2395,10 @@ namespace Barotrauma.Networking
spawnedCharacter.GiveIdCardTags(mainSubWaypoints[i]);
// talents are only avilable for players in online sessions, but modders or someone else might want to have them loaded anyway
spawnedCharacter.LoadTalents();
}
spawnedCharacter.OwnerClientEndPoint = teamClients[i].Connection.EndPointString;
spawnedCharacter.OwnerClientName = teamClients[i].Name;
spawnedCharacter.OwnerClientEndPoint = teamClients[i].Connection.EndPointString;
spawnedCharacter.OwnerClientName = teamClients[i].Name;
}
}
for (int i = teamClients.Count; i < teamClients.Count + bots.Count; i++)