diff --git a/Server/Components/Pages/GamePage.razor.cs b/Server/Components/Pages/GamePage.razor.cs index 7e08fd6..cc7ca73 100644 --- a/Server/Components/Pages/GamePage.razor.cs +++ b/Server/Components/Pages/GamePage.razor.cs @@ -21,7 +21,7 @@ public partial class GamePage protected override async Task OnInitializedAsync() { - bool userLoaded = await LoadUser(); + bool userLoaded = await LoadUserAsync(); if (!userLoaded) { NavigationManager.NavigateTo("/"); @@ -54,7 +54,7 @@ protected override async Task OnInitializedAsync() await base.OnInitializedAsync(); } - private async Task LoadUser() + private async Task LoadUserAsync() { var username = await ProtectedSessionStore.GetAsync("username"); if (!username.Success) diff --git a/Server/Modules/MapGenerator/UI/MapView.razor b/Server/Modules/MapGenerator/UI/MapView.razor index 3107414..a12a975 100644 --- a/Server/Modules/MapGenerator/UI/MapView.razor +++ b/Server/Modules/MapGenerator/UI/MapView.razor @@ -22,7 +22,7 @@ @if (MapDisplayOptions.ShowPlayer && x == CharacterX && y == CharacterY) { - @SpecialChars.Icons.Player + 😐 } else if (MapDisplayOptions.TileInformationDisplay == TileInformationDisplay.Position) diff --git a/Server/Modules/MapGenerator/UI/Models/SpecialChars.cs b/Server/Modules/MapGenerator/UI/Models/SpecialChars.cs index 0e22eaa..8131f95 100644 --- a/Server/Modules/MapGenerator/UI/Models/SpecialChars.cs +++ b/Server/Modules/MapGenerator/UI/Models/SpecialChars.cs @@ -16,6 +16,6 @@ public static class Arrows public static class Icons { - public const string Player = "😐"; + public const string Player = "😐"; } }