From 9584ceede2fe44668db1d6b1b83d4225bf65d20d Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 9 Sep 2019 22:30:37 +0100 Subject: [PATCH] Correct tour guide check in add inventory handler --- houdini/handlers/play/item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/houdini/handlers/play/item.py b/houdini/handlers/play/item.py index 7d86d3a..0a378a4 100644 --- a/houdini/handlers/play/item.py +++ b/houdini/handlers/play/item.py @@ -58,7 +58,7 @@ async def handle_buy_inventory(p, item: Item): if item.id in p.data.inventory: return await p.send_error(400) - if item.epf: + if item.tour: return await p.add_inbox(p.server.postcards[126]) if p.data.coins < item.cost: