From 3a35dc3c852586fae4d4a79569fd64e1b10dd6a2 Mon Sep 17 00:00:00 2001 From: AllinolCP <56921534+AllinolCP@users.noreply.github.com> Date: Tue, 1 Mar 2022 11:09:06 +0700 Subject: [PATCH] Fixed mail not sending NOT ENOUGH COINS error --- houdini/handlers/play/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/houdini/handlers/play/mail.py b/houdini/handlers/play/mail.py index d49c0e3..b086465 100644 --- a/houdini/handlers/play/mail.py +++ b/houdini/handlers/play/mail.py @@ -58,7 +58,7 @@ async def handle_get_mail(p): @handlers.cooldown(2) async def handle_send_mail(p, recipient_id: int, postcard_id: int): if p.coins < 10: - return await p.send_xt('ms', p.coins, 0) + return await p.send_xt('ms', p.coins, 2) mail_count = await db.select([db.func.count(PenguinPostcard.id)]).where( PenguinPostcard.penguin_id == recipient_id).gino.scalar() if recipient_id in p.server.penguins_by_id: