fix: actors having stale musictrack reference after the audioengine reloading

This commit is contained in:
minjaesong
2024-02-05 02:14:38 +09:00
parent cc00e1eff9
commit 839886531a
5 changed files with 72 additions and 19 deletions

View File

@@ -65,7 +65,7 @@ class TerrarumAudioMixerTrack(
var playStartedTime = 0L; internal set
fun copyStatusFrom(other: TerrarumAudioMixerTrack) {
fun copyStatusTo(other: TerrarumAudioMixerTrack) {
other.pullNextTrack = this.pullNextTrack
other.currentTrack = this.currentTrack
other.nextTrack = this.nextTrack