summaryrefslogtreecommitdiff
path: root/objects.go
diff options
context:
space:
mode:
Diffstat (limited to 'objects.go')
-rw-r--r--objects.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/objects.go b/objects.go
index b26d1c8..008d712 100644
--- a/objects.go
+++ b/objects.go
@@ -333,6 +333,8 @@ func OnCollideSpring(this, other *GameObject) bool {
other.onGround = true
this.state = 2
this.delta = 1
+ this.game.audioPlayer.springAudio.Rewind()
+ this.game.audioPlayer.springAudio.Play()
return false
}