Fix invisibility

Former-commit-id: daeed655d2af1d990eee5d03df22b8a9bcbdf011
This commit is contained in:
timokoesters 2019-05-26 17:56:46 +02:00
parent 4ebf2e13a5
commit a7faa82aad
2 changed files with 3 additions and 2 deletions

View File

@ -215,7 +215,8 @@ impl Server {
for entity in todo_kill {
if let Some(client) = self.clients.get_mut(&entity) {
self.state.write_component(entity, comp::phys::Vel(Vec3::zero()));
self.state
.write_component(entity, comp::phys::Vel(Vec3::zero()));
client.force_state(ClientState::Dead);
} else {
self.state.ecs_mut().delete_entity_synced(entity);

View File

@ -618,7 +618,7 @@ impl FigureMgr {
.join()
{
if stat.is_dead() {
return;
continue;
}
match actor {