aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/areaClick.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/dom/areaClick.ts')
-rw-r--r--webAO/dom/areaClick.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/dom/areaClick.ts b/webAO/dom/areaClick.ts
index 27682c7..ae03726 100644
--- a/webAO/dom/areaClick.ts
+++ b/webAO/dom/areaClick.ts
@@ -6,7 +6,7 @@ import { renderPlayerList } from "./renderPlayerList";
*/
export function area_click(el: HTMLElement) {
const area = client.areas[el.id.substring(4)].name;
- client.sender.sendMusicChange(area);
+ client.sender.sendAreaChange(area);
const areaHr = document.createElement("div");
areaHr.className = "hrtext";