fix: getFreeTrack() would return a track it just returned when the timing coincides

This commit is contained in:
minjaesong
2024-02-21 21:43:55 +09:00
parent 549c03c2b4
commit f7b0dfb5bb
5 changed files with 9 additions and 15 deletions

View File

@@ -160,6 +160,7 @@ abstract class Actor : Comparable<Actor>, Runnable {
musicTracks[music] = track
musicTracks1.add(track.name)
track.stop()
track.trackingTarget = this
}
else {
// printdbg(this, "Could not get a free track")