Update __init__.py
This commit is contained in:
parent
f2e110d7d4
commit
124da4bfe7
1 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ async def chemical_code(msg: Bot.MessageSession, id=None, random_mode=True, capt
|
|||
else:
|
||||
send_ = wait.locale.t('chemical_code.message.correct')
|
||||
if random_mode:
|
||||
if (g_msg := await gained_petal(wait, 2)):
|
||||
if (g_msg := await gained_petal(wait, 1)):
|
||||
send_ += '\n' + g_msg
|
||||
await wait.send_message(send_)
|
||||
play_state[msg.target.target_id]['active'] = False
|
||||
|
@ -249,7 +249,7 @@ async def chemical_code(msg: Bot.MessageSession, id=None, random_mode=True, capt
|
|||
if play_state[msg.target.target_id]['active']:
|
||||
if result.as_display(text_only=True) == csr['name']:
|
||||
send_ = msg.locale.t('chemical_code.message.correct')
|
||||
if (g_msg := await gained_petal(msg, 1)):
|
||||
if (g_msg := await gained_petal(msg, 2)):
|
||||
send_ += '\n' + g_msg
|
||||
await result.send_message(send_)
|
||||
else:
|
||||
|
|
Reference in a new issue