mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +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' }}
|
||||
radius="none"
|
||||
onClick={() => {
|
||||
invalidate();
|
||||
mutateDuel((draft) => {
|
||||
draft.antagonist.equipmentMatrix[0][0] = hasCalibratedShells
|
||||
? 0
|
||||
@@ -281,6 +282,7 @@ export function Options({ thicknessRange, canvas }: OptionsProps) {
|
||||
style={{ marginTop: -1 }}
|
||||
radius="none"
|
||||
onClick={() => {
|
||||
invalidate();
|
||||
mutateDuel((draft) => {
|
||||
draft.protagonist.equipmentMatrix[1][1] = hasEnhancedArmor
|
||||
? 0
|
||||
|
||||
Reference in new issue
Block a user