spellbook fixes

This commit is contained in:
morbalint committed 2024-07-25 01:51:33 +02:00
1 parent ee4ccee0f6
commit b950aaa471
2 files changed
+247 -235

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -109,7 +109,7 @@ export const characterSlice = createSlice({
},
removeVarazslat: (state, action: {payload: {id: string, osztaly: Osztaly2E}}) => {
state.varazslatok = [...state.varazslatok.filter(x =>
x.id !== action.payload.id && x.osztaly !== action.payload.osztaly)];
(x.id !== action.payload.id || x.osztaly !== action.payload.osztaly))];
},
}
})