Home
/
risinglegends.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e7c45c
)
remove unused `calc:ap` event
author
xangelo
<git@xangelo.ca>
Fri, 23 Jun 2023 16:26:11 +0000
(12:26 -0400)
committer
xangelo
<git@xangelo.ca>
Fri, 23 Jun 2023 16:26:11 +0000
(12:26 -0400)
src/server/api.ts
patch
|
blob
|
history
diff --git
a/src/server/api.ts
b/src/server/api.ts
index 1bb9ece3bcaaa355c56a178c35b638dfda64633d..ae7c58b3505cac31709b6e9d7a45b56e73da7281 100644
(file)
--- 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);