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