update: feedback repair model and improve repair case interaction feedback

This commit is contained in:
Tom Boullay
2026-05-11 12:54:54 +02:00
parent 72f8acb61c
commit 788e9f0fb3
4 changed files with 112 additions and 18 deletions
@@ -71,6 +71,7 @@ export function RepairGame({
useRepairFragmentationInput({
enabled: mainState === mission && readyForFragmentation,
keyboardEnabled: false,
onFragment: () => setMissionStep(mission, "fragmented"),
});
@@ -143,6 +144,11 @@ export function RepairGame({
open={step === "repairing"}
zoomed={step === "repairing"}
showFragmentationPrompt={readyForFragmentation}
onInteract={
readyForFragmentation
? () => setMissionStep(mission, "fragmented")
: undefined
}
/>
) : null}
</Suspense>