- added state to set sound set settings for sightings and NPED hits

- added function to save mute settings
This commit is contained in:
2025-10-08 11:08:41 +01:00
parent a20a0c7019
commit 40909d48b6
8 changed files with 59 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ export function reducer(state: SoundState, action: SoundAction): SoundState {
...state,
sightingSound: action.payload.sightingSound,
NPEDsound: action.payload.NPEDsound,
hotlists: action.payload.hotlists.map((hotlist) => ({
hotlists: action.payload.hotlists?.map((hotlist) => ({
name: hotlist.name,
sound: hotlist.sound,
})),