mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 22:44:04 +09:00
boom sound for the bomb
This commit is contained in:
@@ -31,7 +31,7 @@ class AudioCodex {
|
||||
fun getRandomAudio(identifier: String): MusicContainer? {
|
||||
val file = audio[identifier]?.random()
|
||||
return if (file != null) {
|
||||
MusicContainer(file.nameWithoutExtension(), file.file(), Gdx.audio.newMusic(file)) {
|
||||
MusicContainer(file.nameWithoutExtension(), file.file()) {
|
||||
it.tryDispose()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user