mirror of
https://github.com/morbalint/kemkas.git
synced 2026-11-14 17:29:42 +00:00
spellbook fixes
This commit is contained in:
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}}) => {
|
removeVarazslat: (state, action: {payload: {id: string, osztaly: Osztaly2E}}) => {
|
||||||
state.varazslatok = [...state.varazslatok.filter(x =>
|
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))];
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user