fix: opaque mode instantly updates now

This commit is contained in:
tresabhi committed 2024-12-14 14:46:53 -06:00
1 parent 12e7d664e5
commit 2237d460bb
1 file changed
+4 -1
@@ -156,7 +156,10 @@ export function PrimaryArmorSceneComponent({
(state) => state.greenPenetration, (state) => state.greenPenetration,
handleGreenPenetrationChange, handleGreenPenetrationChange,
), ),
tankopediaPersistentStore.subscribe(
(state) => state.opaque,
handleOpaqueChange,
),
duelStore.subscribe( duelStore.subscribe(
(state) => state.protagonist.equipmentMatrix, (state) => state.protagonist.equipmentMatrix,
(equipment) => handleProtagonistEquipmentChange(equipment), (equipment) => handleProtagonistEquipmentChange(equipment),