From 184b12bf7d00695122607f46edda84d94625d66e Mon Sep 17 00:00:00 2001 From: yzhh <31803608+OasisAkari@users.noreply.github.com> Date: Wed, 25 Oct 2023 21:50:56 +0800 Subject: [PATCH] Update __init__.py --- modules/fish/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fish/__init__.py b/modules/fish/__init__.py index f8c7b6fc..19fd8085 100644 --- a/modules/fish/__init__.py +++ b/modules/fish/__init__.py @@ -126,11 +126,11 @@ async def _(msg: Bot.MessageSession): wait_repeat = 0 hook_repeat = 0 else: + play_state[msg.target.target_id]['hooked'] = True if hooked_time % 1 == 0: await msg.send_message(msg.locale.t(f"fish.message.hooked.{repeat_state}.{random.randint(1, 3)}"), quote=False) hook_repeat += 1 - play_state[msg.target.target_id]['hooked'] = True hooked_time -= 0.25 else: if wait_time % 10 == 0: