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 f840729..ff5aaaa 100644
--- a/webAO/dom/changeBackgroundOOC.ts
+++ b/webAO/dom/changeBackgroundOOC.ts
@@ -22,7 +22,7 @@ export function changeBackgroundOOC() {
if (mode === "join") {
client.sendOOC(`/${changeBGCommand.replace("$1", filename)}`);
} else if (mode === "replay") {
- client.sendSelf(`BN#${filename}#%`);
+ client.sender.sendSelf(`BN#${filename}#%`);
}
}
window.changeBackgroundOOC = changeBackgroundOOC; \ No newline at end of file