Fix
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user