Signed-off-by: ale <ale@manalejandro.com>
Este commit está contenido en:
ale
2025-12-11 03:04:02 +01:00
padre f5df98c544
commit 3200c37857

Ver fichero

@@ -94,7 +94,12 @@ export default function Home() {
};
const handlePlayAgain = () => {
leaveRoom();
// For AI games, use requestRematch which restarts immediately
if (roomId?.startsWith('AI-')) {
requestRematch();
} else {
leaveRoom();
}
};
// Show lobby if no game state or game mode is waiting