aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/changeBackgroundOOC.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-09-08 23:15:22 +0200
committerGitHub <noreply@github.com>2022-09-08 23:15:22 +0200
commit23d4ef48f894adf601039fe574a0e7dfe918a105 (patch)
treeab70772728eae88c12f0f519304bfb26608c0932 /webAO/dom/changeBackgroundOOC.ts
parent4de6b4fd4e7bc3871d76fded0f32561c814ca003 (diff)
parent9b8f8c3f5310b6af15edf8ff933e2d63e05707a7 (diff)
Merge pull request #171 from caleb-mabry/beginSender
Grouping Sending Functions
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