aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/fixLastArea.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client/fixLastArea.ts')
-rw-r--r--webAO/client/fixLastArea.ts15
1 files changed, 7 insertions, 8 deletions
diff --git a/webAO/client/fixLastArea.ts b/webAO/client/fixLastArea.ts
index f1aa99f..a9979da 100644
--- a/webAO/client/fixLastArea.ts
+++ b/webAO/client/fixLastArea.ts
@@ -1,15 +1,14 @@
import { client } from "../client";
import { addTrack } from "./addTrack";
-
/**
* Area list fuckery
*/
export const fix_last_area = () => {
- if (client.areas.length > 0) {
- const malplaced = client.areas.pop().name;
- const areas = document.getElementById("areas")!;
- areas.removeChild(areas.lastChild);
- addTrack(malplaced);
- }
-} \ No newline at end of file
+ if (client.areas.length > 0) {
+ const malplaced = client.areas.pop().name;
+ const areas = document.getElementById("areas")!;
+ areas.removeChild(areas.lastChild);
+ addTrack(malplaced);
+ }
+};