removed option panel entry
This commit is contained in:
parent
cdbec62924
commit
ff580abf1a
@ -843,10 +843,6 @@ function applyOptionPanelChange(id, state)
|
||||
elseif id == "showTitleSplash" then
|
||||
optionPanel[id] = state
|
||||
|
||||
-- option: Disable sound effects
|
||||
elseif id == "disableSoundEffects" then
|
||||
optionPanel[id] = state
|
||||
|
||||
-- option: Show token arranger
|
||||
elseif id == "showTokenArranger" then
|
||||
optionPanel[id] = spawnOrRemoveHelper(state, "Token Arranger", {-42.3, 1.6, -46.5})
|
||||
@ -985,7 +981,6 @@ function onClick_defaultSettings()
|
||||
|
||||
-- clean reset of variable
|
||||
optionPanel = {
|
||||
disableSoundEffects = false,
|
||||
playAreaSnapTags = true,
|
||||
showAttachmentHelper = false,
|
||||
showCleanUpHelper = false,
|
||||
|
@ -8,9 +8,7 @@ do
|
||||
}
|
||||
|
||||
function playTriggerEffect(index)
|
||||
if Global.getTable("optionPanel").disableSoundEffects ~= true then
|
||||
getObjectsWithTag("SoundCube")[1].AssetBundle.playTriggerEffect(index)
|
||||
end
|
||||
getObjectsWithTag("SoundCube")[1].AssetBundle.playTriggerEffect(index)
|
||||
end
|
||||
|
||||
-- plays the by name requested sound
|
||||
|
@ -129,20 +129,6 @@
|
||||
</Cell>
|
||||
</Row>
|
||||
|
||||
<!-- Option: splash scenario name on setup -->
|
||||
<Row class="option-text">
|
||||
<Cell class="option-text">
|
||||
<VerticalLayout class="text-column">
|
||||
<Text class="option-header">Disable sound effects</Text>
|
||||
<Text class="description">This disables additional soundeffects, e.g. on scenario placement.</Text>
|
||||
</VerticalLayout>
|
||||
</Cell>
|
||||
<Cell class="option-button">
|
||||
<Toggle id="disableSoundEffects"
|
||||
onValueChanged="onClick_toggleOption(disableSoundEffects)"/>
|
||||
</Cell>
|
||||
</Row>
|
||||
|
||||
<!-- Group: playermat settings -->
|
||||
<Row class="group-header">
|
||||
<Cell class="group-header">
|
||||
|
Loading…
Reference in New Issue
Block a user