mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 05:46:43 -04:00
bugfix - Music volume slider no longer auto-sets to sound effect volume
This commit is contained in:
parent
b82a52ce38
commit
9610f9f918
@ -917,7 +917,7 @@
|
||||
requiredTech:"Dynamite",
|
||||
upgradesTo:"Rocket Artillery",
|
||||
uniques:["Bonus vs City 200%","No defensive terrain bonus",
|
||||
"Must set up to ranged attack","Limited Visibility","Indirect Fire"],
|
||||
"Must set up to ranged attack","Limited Visibility","Ranged attacks may be performed over obstacles"],
|
||||
hurryCostModifier:20
|
||||
},
|
||||
{
|
||||
@ -1038,7 +1038,7 @@
|
||||
cost: 375,
|
||||
requiredResource:"Oil",
|
||||
requiredTech:"Electronics",
|
||||
uniques:["Indirect Fire", "Bonus vs City 30%"],
|
||||
uniques:["Ranged attacks may be performed over obstacles", "Bonus vs City 30%"],
|
||||
hurryCostModifier:20
|
||||
},
|
||||
{
|
||||
@ -1163,7 +1163,7 @@
|
||||
requiredTech:"Rocketry",
|
||||
requiredResource:"Aluminum",
|
||||
uniques:["Bonus vs City 200%","No defensive terrain bonus",
|
||||
"Limited Visibility","Indirect Fire"],
|
||||
"Limited Visibility","Ranged attacks may be performed over obstacles"],
|
||||
hurryCostModifier:20
|
||||
},
|
||||
{
|
||||
|
@ -21,8 +21,8 @@ android {
|
||||
applicationId "com.unciv.app"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 29
|
||||
versionCode 317
|
||||
versionName "3.1.12"
|
||||
versionCode 319
|
||||
versionName "3.1.13"
|
||||
}
|
||||
|
||||
// Had to add this crap for Travis to build, it wanted to sign the app
|
||||
|
@ -154,7 +154,7 @@ class WorldScreenOptionsTable(val worldScreen:WorldScreen) : PopupTable(worldScr
|
||||
innerTable.add("Music volume".tr())
|
||||
|
||||
val musicVolumeSlider = Slider(0f, 1.0f, 0.1f, false, skin)
|
||||
musicVolumeSlider.value = UnCivGame.Current.settings.soundEffectsVolume
|
||||
musicVolumeSlider.value = UnCivGame.Current.settings.musicVolume
|
||||
musicVolumeSlider.addListener(object : ChangeListener() {
|
||||
override fun changed(event: ChangeEvent?, actor: Actor?) {
|
||||
UnCivGame.Current.settings.musicVolume = musicVolumeSlider.value
|
||||
|
Loading…
x
Reference in New Issue
Block a user