mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
reloading the engine will copy track states from the old instance, obsoleting audioMixerRenewHooks
This commit is contained in:
@@ -69,7 +69,7 @@ class FixtureJukebox : Electric {
|
||||
}
|
||||
|
||||
|
||||
App.audioMixerRenewHooks[this] = { stopGracefully() }
|
||||
// App.audioMixerRenewHooks[this] = { stopGracefully() }
|
||||
}
|
||||
|
||||
override val canBeDespawned: Boolean
|
||||
@@ -177,7 +177,7 @@ class FixtureJukebox : Electric {
|
||||
}
|
||||
|
||||
override fun dispose() {
|
||||
App.audioMixerRenewHooks.remove(this)
|
||||
// App.audioMixerRenewHooks.remove(this)
|
||||
super.dispose()
|
||||
// testMusic.gdxMusic.dispose()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user