mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 02:54:04 +09:00
fianlly found the culprit of repeated audio stopping but have no idea how to fix
This commit is contained in:
@@ -289,6 +289,7 @@ class FixtureSmelterBasic : FixtureBase, CraftingStation {
|
||||
|
||||
|
||||
// manage audio
|
||||
// FIXME this code is also killing the audio played by the other fixture (FixtureFurnaceAndAnvil)
|
||||
getTrackByAudio(static).let {
|
||||
if (it == null || (temperature > 0f && !it.isPlaying && !it.playRequested.get())) {
|
||||
startAudio(static) {
|
||||
|
||||
Reference in New Issue
Block a user