blob: a9979da31294eae269d9ebb48ad49adf70582139 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
}
};
|