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