|
@@ -37,10 +37,10 @@ public class User
|
|
|
var name = Encoding.UTF8.GetString(bytedata, read + 6, lenname);
|
|
|
read += 6 + lenname;
|
|
|
Debug.Log($"user received id {id} lenname {lenname} name {name} online {online} companyId {companyId}");
|
|
|
- if (companyId == Client.instance.company_id) {
|
|
|
+ //if (companyId == Client.instance.company_id) {
|
|
|
player.users.Add(id, new User { id = id, name_user = name, online = online != 0, company_id = companyId });
|
|
|
WorkerMarker(player.users[id], Color.green);
|
|
|
- }
|
|
|
+ //}
|
|
|
}
|
|
|
player.users_load = true;
|
|
|
}
|