From eedce27a6e5d15fdcbf43e10d45ebfd23598543f Mon Sep 17 00:00:00 2001 From: sD Date: Sun, 9 Feb 2020 19:45:23 +0100 Subject: make guilty buttons work --- webAO/client.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/webAO/client.js b/webAO/client.js index 505b165..8c423cf 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -2322,6 +2322,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. */ -- cgit