mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-06 08:38:30 +09:00
titlescreen: audio lp is no longer disabled too early
This commit is contained in:
@@ -268,6 +268,10 @@ class TitleScreen(batch: FlippingSpriteBatch) : IngameInstance(batch) {
|
|||||||
bogoflops = Math.round(bogoflops.toDouble() * (1000000000.0 / (sc - st)))
|
bogoflops = Math.round(bogoflops.toDouble() * (1000000000.0 / (sc - st)))
|
||||||
printdbg(this, "Bogoflops old: ${App.bogoflops} new: $bogoflops")
|
printdbg(this, "Bogoflops old: ${App.bogoflops} new: $bogoflops")
|
||||||
App.bogoflops = maxOf(App.bogoflops, bogoflops)
|
App.bogoflops = maxOf(App.bogoflops, bogoflops)
|
||||||
|
|
||||||
|
|
||||||
|
(AudioMixer.fadeBus.filters[0] as Lowpass).setCutoff(TerrarumAudioMixerTrack.SAMPLING_RATEF / 2)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -295,10 +299,6 @@ class TitleScreen(batch: FlippingSpriteBatch) : IngameInstance(batch) {
|
|||||||
App.updateListOfSavegames()
|
App.updateListOfSavegames()
|
||||||
UILoadGovernor.reset()
|
UILoadGovernor.reset()
|
||||||
|
|
||||||
|
|
||||||
(AudioMixer.fadeBus.filters[0] as Lowpass).setCutoff(TerrarumAudioMixerTrack.SAMPLING_RATEF / 2)
|
|
||||||
|
|
||||||
|
|
||||||
loadThingsWhileIntroIsVisible()
|
loadThingsWhileIntroIsVisible()
|
||||||
printdbg(this, "show() exit")
|
printdbg(this, "show() exit")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user