From: xangelo Date: Fri, 23 Jun 2023 16:26:11 +0000 (-0400) Subject: remove unused `calc:ap` event X-Git-Tag: v0.0.1~23 X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=72c95d585a5e0acf39404f08e30c3aa2c15f1f9f;p=risinglegends.git remove unused `calc:ap` event --- diff --git a/src/server/api.ts b/src/server/api.ts index 1bb9ece..ae7c58b 100644 --- a/src/server/api.ts +++ b/src/server/api.ts @@ -133,11 +133,6 @@ io.on('connection', async socket => { } }); - socket.on('calc:ap', async () => { - const items = await getEquippedItems(player.id); - calcAp(items, socket); - }); - socket.on('purchase', async (data) => { const shopItem = await getShopItem(data.id);