aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleASS.ts
blob: c50443a0fba79a285c2c01db4d804ae3986e9d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { setAOhost } from "../../client/aoHost";
import { renderPlayerList } from "../../dom/renderPlayerList";

/**
 * new asset url!!
 * @param {Array} args packet arguments
 */
export const handleASS = (args: string[]) => {
  if (args[1] !== "None") setAOhost(args[1]);
  renderPlayerList();
};