Skip to content

Commit 31db6fb

Browse files
authored
Merge pull request Monika-After-Story#10098 from dreamscached/bugfix/hangman-titlecase
Fix non-lowercase words handling in Hangman
2 parents e10f15b + 335d701 commit 31db6fb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Monika After Story/game/zz_hangman.rpy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -643,10 +643,10 @@ label mas_hangman_game_loop:
643643
else:
644644
$ guesses += 1
645645
python:
646-
if guess in word:
646+
if guess in word.lower():
647647
for index in range(0,len(word)):
648-
if guess == word[index]:
649-
display_word[index] = guess
648+
if guess == word[index].lower():
649+
display_word[index] = word[index]
650650
else:
651651
chances -= 1
652652
missed += guess

0 commit comments

Comments
 (0)