mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 21:14:04 +09:00
trying to fix glitchy audio after load
This commit is contained in:
@@ -162,6 +162,8 @@ class TerrarumAudioMixerTrack(
|
||||
override fun equals(other: Any?) = this.hash == (other as TerrarumAudioMixerTrack).hash
|
||||
|
||||
fun stop() {
|
||||
printdbg(this, "Stop music (mixertrack=${this.name}, musictrack=$currentTrack)")
|
||||
|
||||
currentTrack?.reset()
|
||||
|
||||
streamPlaying.set(false)
|
||||
|
||||
Reference in New Issue
Block a user