Fix
This commit is contained in:
1 parent
8c07461fa5
commit
f9af01caf8
1 file changed
+1
-1
@@ -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