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