Skip to content

Commit

Permalink
fix: remove a rogue System.Action in MapPopup.
Browse files Browse the repository at this point in the history
  • Loading branch information
purifetchi authored and ktos committed Nov 19, 2024
1 parent 7078153 commit 9e30ec8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Server/Components/Popups/MapPopup.razor
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,11 @@

<div class="row">
<MapView Map="Map" MapDisplayData="MapDisplayData" Path="null" IsMiniMap="false" CharacterX="x" CharacterY="y"></MapView>
@update_map
</div>

@code {
[Parameter] public required MapData Map { get; set; }
[Parameter] public required MapDisplayData MapDisplayData { get; set; }
int x = MapView.CharacterXX;
int y = MapView.CharacterYY;

private void update_map()
{
NavigationManager.NavigateTo("/map");
}
}

0 comments on commit 9e30ec8

Please sign in to comment.