From 9b8f8c3f5310b6af15edf8ff933e2d63e05707a7 Mon Sep 17 00:00:00 2001 From: Caleb Date: Thu, 8 Sep 2022 12:13:14 -0400 Subject: Add Sender support --- webAO/dom/changeBackgroundOOC.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO/dom/changeBackgroundOOC.ts') 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 -- cgit