From 30991c00d395a079dc2071e3a5d219c72dfd7595 Mon Sep 17 00:00:00 2001 From: Dudis Date: Thu, 6 Nov 2025 05:20:06 -0300 Subject: [PATCH] Decode coins collected from Redis (#108) --- houdini/handlers/play/rainbow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/houdini/handlers/play/rainbow.py b/houdini/handlers/play/rainbow.py index 632bc22..bf96b55 100644 --- a/houdini/handlers/play/rainbow.py +++ b/houdini/handlers/play/rainbow.py @@ -47,7 +47,7 @@ async def handle_rainbow_quest_cookie(p): current_datetime = datetime.now() task_completion = await p.server.redis.get(f'houdini.rainbow_completion.{p.id}') - coins_collected = await p.server.redis.smembers(f'houdini.rainbow_coins.{p.id}') + coins_collected = {c.decode() for c in await p.server.redis.smembers(f'houdini.rainbow_coins.{p.id}')} if task_completion: quest_wait = RainbowQuestWaitMember if p.is_member else RainbowQuestWait