adjusted voice selection paradigm
This commit is contained in:
parent
7930bb0210
commit
5f88bfaee1
|
@ -1626,12 +1626,12 @@ async def watch_game(channel, newgame, user = None, league = None):
|
||||||
|
|
||||||
main_controller.master_games_dic[id] = (newgame, state_init, discrim_string)
|
main_controller.master_games_dic[id] = (newgame, state_init, discrim_string)
|
||||||
|
|
||||||
def prepare_game(newgame, league = None, weather_name = None, voice = None):
|
def prepare_game(newgame, league = None, weather_name = None):
|
||||||
if weather_name is None and newgame.weather.name == "Sunny":
|
if weather_name is None and newgame.weather.name == "Sunny":
|
||||||
weathers = weather.all_weathers()
|
weathers = weather.all_weathers()
|
||||||
newgame.weather = weathers[random.choice(list(weathers.keys()))](newgame)
|
newgame.weather = weathers[random.choice(list(weathers.keys()))](newgame)
|
||||||
|
|
||||||
if voice is None:
|
if newgame.voice is None:
|
||||||
newgame.voice = gametext.TheGoddesses()
|
newgame.voice = gametext.TheGoddesses()
|
||||||
|
|
||||||
state_init = {
|
state_init = {
|
||||||
|
|
Loading…
Reference in a new issue