aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/fixLastArea.ts
diff options
context:
space:
mode:
authorCaleb <caleb.mabry.15@cnu.edu>2022-09-09 18:46:42 -0400
committerCaleb <caleb.mabry.15@cnu.edu>2022-09-09 18:46:42 -0400
commit93979636fb5d1c60f0da3290e80eb3ca9ead992f (patch)
tree4770a2375d594ef080aa4ad8262aa2df42831c26 /webAO/client/fixLastArea.ts
parente50167a8077b0ada769cdf785971972c3ad865f7 (diff)
Migrated functions
Diffstat (limited to 'webAO/client/fixLastArea.ts')
-rw-r--r--webAO/client/fixLastArea.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/webAO/client/fixLastArea.ts b/webAO/client/fixLastArea.ts
index e4d8725..f1aa99f 100644
--- a/webAO/client/fixLastArea.ts
+++ b/webAO/client/fixLastArea.ts
@@ -1,4 +1,5 @@
import { client } from "../client";
+import { addTrack } from "./addTrack";
/**
@@ -9,6 +10,6 @@ export const fix_last_area = () => {
const malplaced = client.areas.pop().name;
const areas = document.getElementById("areas")!;
areas.removeChild(areas.lastChild);
- client.addTrack(malplaced);
+ addTrack(malplaced);
}
} \ No newline at end of file