diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-02-15 16:41:29 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:50:10 +0200 |
| commit | 45c75899632d7ff14e9e32f073d7a3ace7e1230f (patch) | |
| tree | 1a5d4df030c61908d228f3f43bda4057decffaef /go/ui/mapView.go | |
| parent | f369b11bd584c5ec22a4e8e009fbac54101813ce (diff) | |
| download | muhqs-game-45c75899632d7ff14e9e32f073d7a3ace7e1230f.tar.gz muhqs-game-45c75899632d7ff14e9e32f073d7a3ace7e1230f.zip | |
replace Fatalf with Panicf
Panicf includes a stacktrace and causes a debugger to halt.
Diffstat (limited to 'go/ui/mapView.go')
| -rw-r--r-- | go/ui/mapView.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/ui/mapView.go b/go/ui/mapView.go index 697eb774..155750b4 100644 --- a/go/ui/mapView.go +++ b/go/ui/mapView.go @@ -138,7 +138,7 @@ func getPermanentSymbol(p game.Permanent, i int) *ebiten.Image { symbol := fmt.Sprintf("%c%d", unicode.ToUpper(rune(p.Card().Type.String()[0])), i) permanentSymbol = assets.GetGenericSymbol(symbol) if permanentSymbol == nil { - log.Fatalf("Failed to generate generic symbol %s", symbol) + log.Panicf("Failed to generate generic symbol %s", symbol) } } |
