mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
fix: actors having stale musictrack reference after the audioengine reloading
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user