Skip to content

Commit

Permalink
Fix champ IDs being overwriten on game start
Browse files Browse the repository at this point in the history
  • Loading branch information
floh22 committed Jul 16, 2021
1 parent 2e8fe3e commit d905be9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions LeagueBroadcast.Common/LeagueBroadcast.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyVersion>1.4.5.0</AssemblyVersion>
<FileVersion>1.4.5.21197</FileVersion>
<AssemblyVersion>1.4.7.0</AssemblyVersion>
<FileVersion>1.4.7.21197</FileVersion>
<LangVersion>latest</LangVersion>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions LeagueBroadcast.Farsight/LeagueBroadcast.Farsight.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>latest</LangVersion>
<AssemblyVersion>1.4.11.0</AssemblyVersion>
<FileVersion>1.4.11.21197</FileVersion>
<AssemblyVersion>1.4.13.0</AssemblyVersion>
<FileVersion>1.4.13.21197</FileVersion>
<OutputType>Library</OutputType>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions LeagueBroadcast.Update/LeagueBroadcast.Update.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyVersion>1.4.5.0</AssemblyVersion>
<FileVersion>1.4.5.21197</FileVersion>
<AssemblyVersion>1.4.7.0</AssemblyVersion>
<FileVersion>1.4.7.21197</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
6 changes: 2 additions & 4 deletions LeagueBroadcast/Ingame/Data/LBH/Team.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using LeagueBroadcast.Common.Controllers;
using LeagueBroadcast.Common;
using LeagueBroadcast.Common.Controllers;
using LeagueBroadcast.Ingame.Data.RIOT;
using LeagueBroadcast.MVVM.ViewModel;
using LeagueBroadcast.OperatingSystem;
Expand Down Expand Up @@ -33,9 +34,6 @@ public Team(int teamId, List<Player> players)
this.id = teamId;
this.teamName = (id == 0) ? "ORDER" : "CHAOS";
this.players = players;
this.players.ForEach(p => {
p.rawChampionName = p.championName.Replace(" ", "").Replace("'", "").Replace("Wukong", "MonkeyKing").Replace(".", "");
});
this.color = (id == 0) ? TeamConfigViewModel.BlueTeam.Color.ToSerializedString() : TeamConfigViewModel.RedTeam.Color.ToSerializedString();
towers = 0;
hasBaron = false;
Expand Down
4 changes: 2 additions & 2 deletions LeagueBroadcast/LeagueBroadcast.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<RepositoryUrl>https://github.com/floh22/LeagueBroadcast</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageIcon>BE_icon.png</PackageIcon>
<AssemblyVersion>1.4.46.0</AssemblyVersion>
<FileVersion>1.4.46.21197</FileVersion>
<AssemblyVersion>1.4.50.0</AssemblyVersion>
<FileVersion>1.4.50.21197</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit d905be9

Please sign in to comment.