diff options
| author | sD <stoned@derpymail.org> | 2020-02-09 19:45:23 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-02-09 19:45:23 +0100 |
| commit | eedce27a6e5d15fdcbf43e10d45ebfd23598543f (patch) | |
| tree | d1ac1dc259fac942cfa99d8b7eb579944187695a /webAO/client.js | |
| parent | dc969e44d2e31de3cd028822570ba06bcfc806cd (diff) | |
make guilty buttons work
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js index 505b165..8c423cf 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -2323,6 +2323,22 @@ export function initCE() { window.initCE = initCE; /** + * Declare the defendant not guilty + */ +export function notguilty() { + client.sendRT("judgeruling#0"); +} +window.notguilty = notguilty; + +/** + * Declare the defendant not guilty + */ +export function guilty() { + client.sendRT("judgeruling#1"); +} +window.guilty = guilty; + +/** * Increment defense health point. */ export function addHPD() { |
