mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Only sending namechange if userstarted, and fixed visual chat on mobile
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user