aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/changeBackgroundOOC.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/dom/changeBackgroundOOC.ts')
-rw-r--r--webAO/dom/changeBackgroundOOC.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/dom/changeBackgroundOOC.ts b/webAO/dom/changeBackgroundOOC.ts
index ff5aaaa..1608ebe 100644
--- a/webAO/dom/changeBackgroundOOC.ts
+++ b/webAO/dom/changeBackgroundOOC.ts
@@ -20,7 +20,7 @@ export function changeBackgroundOOC() {
if (mode === "join") {
- client.sendOOC(`/${changeBGCommand.replace("$1", filename)}`);
+ client.sender.sendOOC(`/${changeBGCommand.replace("$1", filename)}`);
} else if (mode === "replay") {
client.sender.sendSelf(`BN#${filename}#%`);
}