This commit is contained in:
2019-06-30 20:15:15 +02:00
parent 8c07461fa5
commit f9af01caf8

View File

@@ -77,7 +77,7 @@ function guessLetter($letter) {
//if the guessword doesn't contain the letter increment errorCount
if (!$wordcontainsletter) {
$_SESSION['errorCount'] += 1;
$_SESSION['errorCount'] = $_SESSION['errorCount'] + 1;
}
//refresh the state