Fixes
This commit is contained in:
@@ -43,10 +43,16 @@ echo <<<END
|
||||
END;
|
||||
}
|
||||
|
||||
if ($errors > 8 || 1 == 1) {
|
||||
if ($state == 1) {
|
||||
echo <<<END
|
||||
<p>Gewonnen!</p>
|
||||
END;
|
||||
}
|
||||
|
||||
if ($errors > 8) {
|
||||
$guessword = $_SESSION['toGuess'];
|
||||
echo <<<END
|
||||
<p>Das richtige Wort wäre $guessword gewesen!</p>
|
||||
<p>Verloren. Das richtige Wort wäre $guessword gewesen!</p>
|
||||
END;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user