fix: resolve bugs #118 #119 #120 #123 and refactor craftingStore init

This commit is contained in:
2026-05-22 18:18:26 +02:00
parent ca1709006f
commit 5bc05ded6f
8 changed files with 90 additions and 46 deletions
@@ -90,8 +90,8 @@ export function RoomDisplay({ floorState, floor }: RoomDisplayProps) {
const rt = floorState.roomType as string;
if (rt === 'recovery') {
const progress = floorState.puzzleProgress || 0;
const required = floorState.puzzleRequired || 1;
const progress = floorState.recoveryProgress || 0;
const required = floorState.recoveryRequired || 1;
return (
<Card className="bg-gray-900/80 border-green-800/40">
<CardHeader className="pb-2">