mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
fix: invalidated on quick equipments
This commit is contained in:
1 parent
9566065160
commit
bfb7928a74
1 file changed
+2
@@ -255,6 +255,7 @@ export function Options({ thicknessRange, canvas }: OptionsProps) {
|
|||||||
size={{ initial: '2', sm: '3' }}
|
size={{ initial: '2', sm: '3' }}
|
||||||
radius="none"
|
radius="none"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
invalidate();
|
||||||
mutateDuel((draft) => {
|
mutateDuel((draft) => {
|
||||||
draft.antagonist.equipmentMatrix[0][0] = hasCalibratedShells
|
draft.antagonist.equipmentMatrix[0][0] = hasCalibratedShells
|
||||||
? 0
|
? 0
|
||||||
@@ -281,6 +282,7 @@ export function Options({ thicknessRange, canvas }: OptionsProps) {
|
|||||||
style={{ marginTop: -1 }}
|
style={{ marginTop: -1 }}
|
||||||
radius="none"
|
radius="none"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
invalidate();
|
||||||
mutateDuel((draft) => {
|
mutateDuel((draft) => {
|
||||||
draft.protagonist.equipmentMatrix[1][1] = hasEnhancedArmor
|
draft.protagonist.equipmentMatrix[1][1] = hasEnhancedArmor
|
||||||
? 0
|
? 0
|
||||||
|
|||||||
Reference in new issue
Block a user