fix: reduce amount of network related ghosts

This commit is contained in:
Songtronix 2019-10-07 15:15:29 +02:00
parent 6e59571637
commit 03f0024607

View File

@ -707,7 +707,7 @@ impl Server {
.collect::<Vec<_>>()
};
for entity in to_delete {
let _ = self.state.ecs_mut().delete_entity(entity);
let _ = self.state.ecs_mut().delete_entity_synced(entity);
}
let before_tick_7 = Instant::now();