added image and made it work with 1 client

This commit is contained in:
catvayor 2022-09-09 14:49:06 +02:00
parent 17b4df5c4b
commit 58de2f159c

View file

@ -85,8 +85,8 @@
socket.on("setName", function(data){
console.log("setName", data);
names[data.id] = data.name;
if(data.id in markers)
markers[data.id].setIcon(icons[data.color]);
//if(data.id in markers)
// markers[data.id].setIcon(icons[data.color]);
});
socket.on("changeColor", function(data){