From bd4137d307d2c9eb923b71b0e6a04003a844ae98 Mon Sep 17 00:00:00 2001 From: Noah Stolk <31079637+NoahStolk@users.noreply.github.com> Date: Tue, 30 Aug 2022 21:47:17 +0200 Subject: [PATCH] Fix build --- .../Components/Spawnsets/Spawn.razor | 4 ++-- .../Extensions/CustomLeaderboardCriteriaTypeExtensions.cs | 2 +- .../Pages/Guides/Spawnsets/HowToCreate.razor | 2 +- .../Pages/Leaderboard/StatisticsPage.cs | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/web-client/DevilDaggersInfo.Web.Client/Components/Spawnsets/Spawn.razor b/src/web-client/DevilDaggersInfo.Web.Client/Components/Spawnsets/Spawn.razor index 4c956fe63..d41216ac3 100644 --- a/src/web-client/DevilDaggersInfo.Web.Client/Components/Spawnsets/Spawn.razor +++ b/src/web-client/DevilDaggersInfo.Web.Client/Components/Spawnsets/Spawn.razor @@ -18,8 +18,8 @@ private string GetHandLevelHexColor(HandLevel handLevel) => handLevel switch { - HandLevel.Level3 => UpgradesV3_2.Level3.Color.HexCode, - HandLevel.Level4 => UpgradesV3_2.Level4.Color.HexCode, + HandLevel.Level3 => Upgrades.Level3.Color.HexCode, + HandLevel.Level4 => Upgrades.Level4.Color.HexCode, _ => "#f00", }; } diff --git a/src/web-client/DevilDaggersInfo.Web.Client/Extensions/CustomLeaderboardCriteriaTypeExtensions.cs b/src/web-client/DevilDaggersInfo.Web.Client/Extensions/CustomLeaderboardCriteriaTypeExtensions.cs index 94b45dea8..f4692475c 100644 --- a/src/web-client/DevilDaggersInfo.Web.Client/Extensions/CustomLeaderboardCriteriaTypeExtensions.cs +++ b/src/web-client/DevilDaggersInfo.Web.Client/Extensions/CustomLeaderboardCriteriaTypeExtensions.cs @@ -13,7 +13,7 @@ public static class CustomLeaderboardCriteriaTypeExtensions CustomLeaderboardCriteriaType.EnemiesKilled => "#f80", // TODO: Use same color as graph CustomLeaderboardCriteriaType.DaggersFired => "#f80", // TODO: Use same color as graph CustomLeaderboardCriteriaType.DaggersHit => "#f80", // TODO: Use same color as graph - CustomLeaderboardCriteriaType.HomingStored => UpgradesV3_2.Level4.Color.HexCode, + CustomLeaderboardCriteriaType.HomingStored => Upgrades.Level4.Color.HexCode, CustomLeaderboardCriteriaType.HomingEaten => EnemiesV3_2.Ghostpede.Color.HexCode, CustomLeaderboardCriteriaType.Skull1Kills => EnemiesV3_2.Skull1.Color.HexCode, CustomLeaderboardCriteriaType.Skull2Kills => EnemiesV3_2.Skull2.Color.HexCode, diff --git a/src/web-client/DevilDaggersInfo.Web.Client/Pages/Guides/Spawnsets/HowToCreate.razor b/src/web-client/DevilDaggersInfo.Web.Client/Pages/Guides/Spawnsets/HowToCreate.razor index 89370e186..dced7759c 100644 --- a/src/web-client/DevilDaggersInfo.Web.Client/Pages/Guides/Spawnsets/HowToCreate.razor +++ b/src/web-client/DevilDaggersInfo.Web.Client/Pages/Guides/Spawnsets/HowToCreate.razor @@ -264,7 +264,7 @@