aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/addHPP.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/dom/addHPP.ts')
-rw-r--r--webAO/dom/addHPP.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/dom/addHPP.ts b/webAO/dom/addHPP.ts
index 4a1521c..1379f7c 100644
--- a/webAO/dom/addHPP.ts
+++ b/webAO/dom/addHPP.ts
@@ -4,6 +4,6 @@ import { client } from "../client";
* Increment prosecution health point.
*/
export function addHPP() {
- client.sendHP(2, client.hp[1] + 1);
+ client.sender.sendHP(2, client.hp[1] + 1);
}
window.addHPP = addHPP; \ No newline at end of file