Fix transformword
This commit is contained in:
1 parent
bc1b78a85b
commit
10a1ba1497
1 file changed
+1
-1
@@ -42,7 +42,7 @@ function initGame()
|
||||
//session_name(get_current_user() . "hangman");
|
||||
//session_start();
|
||||
|
||||
$randword = getRandomWord();
|
||||
$randword = transformWord(getRandomWord());
|
||||
$_SESSION['toGuess'] = $randword;
|
||||
$_SESSION['mask'] = maskWord($randword);
|
||||
$_SESSION['guessedLetters'] = [];
|
||||
|
||||
Reference in new issue
Block a user