Fix eslin errors in socket.on("skin")

This commit is contained in:
thmsndk
2024-01-23 00:20:57 +01:00
committed by GitHub
parent 8c1ca77b7d
commit 67d76dd2f3
+5 -3
View File
@@ -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) {