From 72c95d585a5e0acf39404f08e30c3aa2c15f1f9f Mon Sep 17 00:00:00 2001 From: xangelo Date: Fri, 23 Jun 2023 12:26:11 -0400 Subject: [PATCH] remove unused `calc:ap` event --- src/server/api.ts | 5 ----- 1 file changed, 5 deletions(-) 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); -- 2.25.1