From 3d36d1d0254b8aeecc889a2a49cbcced458cbe9c Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 25 Feb 2023 23:08:47 +0100 Subject: intermediate commit * Implement move artifact action * Fix widget update memory leak * update the highlights not during on each frame * do not update the unchanged label of a button * Allow to exit the game by pressing 'q' * Implement some cards from the magic set * Improve permanent formatting * Some tweaks to UnitAI code --- go/client/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'go/client/main.go') diff --git a/go/client/main.go b/go/client/main.go index 82b60a40..86491a4d 100644 --- a/go/client/main.go +++ b/go/client/main.go @@ -94,6 +94,8 @@ func main() { app.pushActivity(startMenu) if err := ebiten.RunGame(app); err != nil { - log.Fatal(err) + if err.Error() != "Exit" { + log.Fatal(err) + } } } -- cgit v1.2.3