mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 06:51:30 -04:00
Fixed music download error
This commit is contained in:
parent
c8f2d337c3
commit
1af01dc693
@ -21,7 +21,7 @@ class MusicController {
|
|||||||
private val musicLocation = FileType.Local
|
private val musicLocation = FileType.Local
|
||||||
const val musicPath = "music"
|
const val musicPath = "music"
|
||||||
const val modPath = "mods"
|
const val modPath = "mods"
|
||||||
const val musicFallbackLocation = "music/thatched-villagers.mp3"
|
const val musicFallbackLocation = "/music/thatched-villagers.mp3"
|
||||||
const val maxVolume = 0.6f // baseVolume has range 0.0-1.0, which is multiplied by this for the API
|
const val maxVolume = 0.6f // baseVolume has range 0.0-1.0, which is multiplied by this for the API
|
||||||
private const val ticksPerSecond = 20 // Timer frequency defines smoothness of fade-in/out
|
private const val ticksPerSecond = 20 // Timer frequency defines smoothness of fade-in/out
|
||||||
private const val timerPeriod = 1000L / ticksPerSecond
|
private const val timerPeriod = 1000L / ticksPerSecond
|
||||||
|
Loading…
x
Reference in New Issue
Block a user