mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-20 10:34:36 -04:00
Use set_tweak instead of set_sound
This commit is contained in:
parent
09601255f5
commit
9a71add1c0
2 changed files with 4 additions and 3 deletions
|
@ -400,8 +400,8 @@ def _tweaks_for_actions(actions):
|
|||
for a in actions:
|
||||
if not isinstance(a, dict):
|
||||
continue
|
||||
if 'set_sound' in a:
|
||||
tweaks['sound'] = a['set_sound']
|
||||
if 'set_tweak' in a and 'value' in a:
|
||||
tweaks[a['set_tweak']] = a['value']
|
||||
return tweaks
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue