From 041146caaed8fc41a48c04eb8f23612acf0cdcd8 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 23 Apr 2020 15:58:23 +0100 Subject: [PATCH] Fix handler check on `handle_epf_grant_reward` --- houdini/handlers/play/epf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/houdini/handlers/play/epf.py b/houdini/handlers/play/epf.py index 038da7c..cadce9e 100644 --- a/houdini/handlers/play/epf.py +++ b/houdini/handlers/play/epf.py @@ -134,7 +134,7 @@ async def handle_get_com_messages(p): @handlers.handler(XTPacket('f', 'epfgrantreward')) @handlers.cooldown(60) -@handlers.player_attribute(agent_status=False) +@handlers.player_attribute(agent_status=True) async def handle_epf_grant_reward(p, medals: int): medals = min(45, medals) await p.update(career_medals=p.career_medals + medals,