mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:27 -05:00
Fix eslin errors in socket.on("skin")
This commit is contained in:
+5
-3
@@ -10497,10 +10497,12 @@ function init_io() {
|
||||
}
|
||||
}
|
||||
});
|
||||
socket.on("skin",function(data){
|
||||
socket.on("skin", function (data) {
|
||||
var player = players[socket.id];
|
||||
if(player.role!="gm") return;
|
||||
player.tskin=data.name;
|
||||
if (player.role != "gm") {
|
||||
return;
|
||||
}
|
||||
player.tskin = data.name;
|
||||
resend(player, "u+cid");
|
||||
});
|
||||
socket.on("legacify", function (data) {
|
||||
|
||||
Reference in New Issue
Block a user