Merge branch 'fix-logging' into 'main'

Remove spawning logs

See merge request tipragot/bevnet!4
This commit is contained in:
Tipragot 2023-04-28 21:35:42 +02:00
commit 8b597a663b

View file

@ -38,10 +38,8 @@ impl Plugin for ClientSyncPlugin {
.iter(world)
.find(|(_, server_entity)| server_entity.0 == entity)
{
println!("Despawning {:?}", local_entity);
world.despawn(local_entity);
} else {
println!("Spawning {:?}", entity);
world.spawn(ServerEntity(entity));
}
}