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
@@ -74,6 +74,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="MonoMod.Common" Version="21.12.12.3" />
<PackageReference Include="MoonSharp" Version="2.0.0" />
<PackageReference Include="RestSharp" Version="106.13.0" />
</ItemGroup>
@@ -81,6 +81,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="MonoMod.Common" Version="21.12.12.3" />
<PackageReference Include="MoonSharp" Version="2.0.0" />
<PackageReference Include="RestSharp" Version="106.13.0" />
</ItemGroup>
@@ -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++)
@@ -82,8 +82,16 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="MonoMod.Common" Version="21.12.12.3" />
<PackageReference Include="MoonSharp" Version="2.0.0" />
<PackageReference Include="RestSharp" Version="106.13.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="0Harmony">
<HintPath>..\..\Libraries\0Harmony.dll</HintPath>
</Reference>
</ItemGroup>
<!-- Sourced from https://stackoverflow.com/a/45248069 -->
<Target Name="GetGitRevision" BeforeTargets="WriteGitRevision" Condition="'$(BuildHash)' == ''">