@@ -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
|
||||
|
||||
Referencia en una nueva incidencia
Block a user