Skip to content

Commit

Permalink
hotfix for khaos relic status location display
Browse files Browse the repository at this point in the history
  • Loading branch information
TalicZealot committed Mar 12, 2022
1 parent f42492c commit e7d751a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions SotnRandoTools/src/RandoTracker/Tracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ private void UpdateRelics()
{
VladRelicLocationDisplay.HeartOfVladLocation = location is not null ? location.Name : "";
}
else
else if (VladRelicLocationDisplay.HeartOfVladLocation == "Khaos")
{
VladRelicLocationDisplay.HeartOfVladLocation = String.Empty;
}
Expand All @@ -660,7 +660,7 @@ private void UpdateRelics()
{
VladRelicLocationDisplay.ToothOfVladLocation = location is not null ? location.Name : "";
}
else
else if (VladRelicLocationDisplay.ToothOfVladLocation == "Khaos")
{
VladRelicLocationDisplay.ToothOfVladLocation = String.Empty;
}
Expand All @@ -670,7 +670,7 @@ private void UpdateRelics()
{
VladRelicLocationDisplay.RibOfVladLocation = location is not null ? location.Name : "";
}
else
else if (VladRelicLocationDisplay.RibOfVladLocation == "Khaos")
{
VladRelicLocationDisplay.RibOfVladLocation = String.Empty;
}
Expand All @@ -680,7 +680,7 @@ private void UpdateRelics()
{
VladRelicLocationDisplay.RingOfVladLocation = location is not null ? location.Name : "";
}
else
else if (VladRelicLocationDisplay.RingOfVladLocation == "Khaos")
{
VladRelicLocationDisplay.RingOfVladLocation = String.Empty;
}
Expand All @@ -690,7 +690,7 @@ private void UpdateRelics()
{
VladRelicLocationDisplay.EyeOfVladLocation = location is not null ? location.Name : "";
}
else
else if (VladRelicLocationDisplay.EyeOfVladLocation == "Khaos")
{
VladRelicLocationDisplay.EyeOfVladLocation = String.Empty;
}
Expand All @@ -700,7 +700,7 @@ private void UpdateRelics()
{
VladRelicLocationDisplay.BatLocation = location is not null ? location.Name : "";
}
else
else if (VladRelicLocationDisplay.BatLocation == "Khaos")
{
VladRelicLocationDisplay.BatLocation = String.Empty;
}
Expand All @@ -710,7 +710,7 @@ private void UpdateRelics()
{
VladRelicLocationDisplay.MistLocation = location is not null ? location.Name : "";
}
else
else if (VladRelicLocationDisplay.MistLocation == "Khaos")
{
VladRelicLocationDisplay.MistLocation = String.Empty;
}
Expand All @@ -720,7 +720,7 @@ private void UpdateRelics()
{
VladRelicLocationDisplay.JewelOfOpenLocation = location is not null ? location.Name : "";
}
else
else if (VladRelicLocationDisplay.JewelOfOpenLocation == "Khaos")
{
VladRelicLocationDisplay.JewelOfOpenLocation = String.Empty;
}
Expand All @@ -730,7 +730,7 @@ private void UpdateRelics()
{
VladRelicLocationDisplay.GravityBootsLocation = location is not null ? location.Name : "";
}
else
else if (VladRelicLocationDisplay.GravityBootsLocation == "Khaos")
{
VladRelicLocationDisplay.GravityBootsLocation = String.Empty;
}
Expand All @@ -740,7 +740,7 @@ private void UpdateRelics()
{
VladRelicLocationDisplay.LepastoneLocation = location is not null ? location.Name : "";
}
else
else if (VladRelicLocationDisplay.LepastoneLocation == "Khaos")
{
VladRelicLocationDisplay.LepastoneLocation = String.Empty;
}
Expand All @@ -750,7 +750,7 @@ private void UpdateRelics()
{
VladRelicLocationDisplay.MermanLocation = location is not null ? location.Name : "";
}
else
else if (VladRelicLocationDisplay.MermanLocation == "Khaos")
{
VladRelicLocationDisplay.MermanLocation = String.Empty;
}
Expand Down
2 changes: 1 addition & 1 deletion SotnRandoTools/src/SotnRandoTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<OutputType>Library</OutputType>
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
<AnalysisLevel>5.0</AnalysisLevel>
<Version>1.2.9</Version>
<Version>1.3.0</Version>
<Description>A collection of tools to enhance the experience of playign the SotN randomizer.</Description>
<Copyright />
<PackageProjectUrl>https://taliczealot.github.io/</PackageProjectUrl>
Expand Down

0 comments on commit e7d751a

Please sign in to comment.