Only sending namechange if userstarted, and fixed visual chat on mobile

This commit is contained in:
Kasper Rynning-Tønnesen
2017-10-11 15:07:49 +02:00
parent f38b5ad3e9
commit 94d7d50789
9 changed files with 38 additions and 19 deletions

View File

@@ -31,7 +31,7 @@ var Crypt = {
if(conf_arr.width != 100) Player.set_width(conf_arr.width);
if(conf_arr.name !== undefined && conf_arr.name !== "" && conf_arr.chat_pass !== undefined && conf_arr.chat_pass !== ""){
setTimeout(function() {
Chat.namechange(conf_arr.name + " " + conf_arr.chat_pass);
Chat.namechange(conf_arr.name + " " + conf_arr.chat_pass, true);
}, 100); //to take height for delay on establishing connection
}
}