aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-04-02 11:49:45 +0200
committersD <stoned@derpymail.org>2020-04-02 11:49:45 +0200
commit9211eca4316ab10c8064678288228d7541542532 (patch)
tree2cf343c64edcdb6ca4c68a3773e6821e8511e212 /webAO/client.js
parent9ef7df122e4174bbfbaf391f77ae1f652822a97b (diff)
name not showname and log it when it happens
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 65e3798..2612bfc 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -525,12 +525,13 @@ class Client extends EventEmitter {
msg_blips = this.chars[char_id].gender;
char_muted = this.chars[char_id].muted;
- if(this.chars[char_id].showname !== char_name) {
- // someone is iniediting
+ if(this.chars[char_id].name !== char_name) {
+ console.info(this.chars[char_id].name + " is iniediting to " + char_name);
this.handleCharacterInfo(char_name,char_id);
}
} catch (e) {
//we already set defaults
+ console.error("we're still missing some character data");
}
if (char_muted === false) {