aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2018-04-10 17:48:54 +0200
committerstonedDiscord <stoned@derpymail.org>2018-04-10 17:48:54 +0200
commit4335d8374b05041c521ab7f919ec545aaf5e6f6f (patch)
tree351ce95720ebe367cdd898406952769c0a691875
parent3173f1ad5ec73ffd03d089b4a4c55608a1b6eeb9 (diff)
desc messed it up
-rw-r--r--client.js9
-rw-r--r--webao.code-workspace8
2 files changed, 13 insertions, 4 deletions
diff --git a/client.js b/client.js
index 9573bcc..0d42b30 100644
--- a/client.js
+++ b/client.js
@@ -444,11 +444,12 @@ function onMessage(e) {
case "SC":
document.getElementById("client_loadingtext").innerHTML = "Loading Characters";
for (var i = 1; i < arguments.length - 1; i++) {
+ charguments = arguments[i].split("&");
chars[i - 1] = {
- "name": arguments[i],
- "desc": arguments[i],
- "evidence": "",
- "icon": AO_HOST + "characters/" + escape(arguments[i]) + "/char_icon.png"
+ "name": charguments[0],
+ "desc": charguments[1],
+ "evidence": charguments[3],
+ "icon": AO_HOST + "characters/" + escape(charguments[0]) + "/char_icon.png"
}
}
serv.send("RM#%");
diff --git a/webao.code-workspace b/webao.code-workspace
new file mode 100644
index 0000000..876a149
--- /dev/null
+++ b/webao.code-workspace
@@ -0,0 +1,8 @@
+{
+ "folders": [
+ {
+ "path": "."
+ }
+ ],
+ "settings": {}
+} \ No newline at end of file