expose some stuff to DOM to allow scripting

we can probably water it down if its used for abuse
This commit is contained in:
Elijah R 2024-07-14 17:04:27 -04:00
parent 5065c7ab58
commit 653ce2e413

View file

@ -119,3 +119,10 @@ function talk() {
} }
roomInit(); roomInit();
let w = window as any;
w.agentchat = {
getRoom: () => Room,
}