From d739f3a016d9e052ae2e844d5ed62502bb7a4e38 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 23 Apr 2024 15:10:33 +0100 Subject: add click sound to menu --- main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index 5296557..bfadeb1 100644 --- a/main.go +++ b/main.go @@ -293,6 +293,8 @@ func (g *Game) Update() error { bo = buttonOffset if onButton && g.animStart <= 0{ g.animStart = g.time + 60 + g.audioPlayer.landAudio[0].Rewind() + g.audioPlayer.landAudio[0].Play() StartGame(g) } } -- cgit v1.2.1