Ajout de l'intégration twitch
This commit is contained in:
@@ -8,6 +8,13 @@ const CONSONANTS = ["b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p",
|
||||
|
||||
|
||||
static func generate_random_word(_random_seed = randi()) -> String:
|
||||
if (
|
||||
GameInfo
|
||||
and GameInfo.settings_data.activate_twitch_integration
|
||||
and len(TwitchConnection.pseudo_gathered)
|
||||
):
|
||||
return TwitchConnection.pseudo_gathered.pick_random()
|
||||
|
||||
var word_len = randf_range(4,8)
|
||||
var word = ''
|
||||
var last_letter_is_vowel = false
|
||||
|
||||
Reference in New Issue
Block a user