mirror of
https://github.com/solero/houdini.git
synced 2024-11-08 20:28:20 +00:00
Legacy get card data should sum card quantities
This commit is contained in:
parent
a00d287d14
commit
9349b5374b
@ -29,5 +29,5 @@ async def handle_get_snow_level(p):
|
||||
|
||||
@handlers.handler(XTPacket('ni', 'gcd'))
|
||||
async def handle_get_card_data(p):
|
||||
await p.send_xt('gcd', '|'.join(f'{card.card_id},{card.quantity},{card.member_quantity}'
|
||||
await p.send_xt('gcd', '|'.join(f'{card.card_id},{card.quantity+card.member_quantity}'
|
||||
for card in p.cards.values()))
|
||||
|
Loading…
Reference in New Issue
Block a user