From 2b31330cb51e9be8960fa7d7dc1d9c6e3bba79eb Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 22 Jul 2025 12:52:23 -0400 Subject: use canonical file names to retrieve card symbols --- go/ui/mapView.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go/ui') diff --git a/go/ui/mapView.go b/go/ui/mapView.go index 9b1cd206..f716278c 100644 --- a/go/ui/mapView.go +++ b/go/ui/mapView.go @@ -282,7 +282,7 @@ func (vw *MapView) drawMapLayer(screen *ebiten.Image) { } func getPermanentSymbol(p game.Permanent, i int) *ebiten.Image { - permanentSymbol := assets.GetSymbol(strings.ToLower(p.Card().Name)) + permanentSymbol := assets.GetSymbol(p.Card().FileName()) if permanentSymbol == nil { symbol := fmt.Sprintf("%c%d", unicode.ToUpper(rune(p.Card().Type.String()[0])), i) permanentSymbol = assets.GetGenericSymbol(symbol) -- cgit v1.2.3