mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix invisibility
Former-commit-id: daeed655d2af1d990eee5d03df22b8a9bcbdf011
This commit is contained in:
parent
4ebf2e13a5
commit
a7faa82aad
@ -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);
|
||||
|
@ -618,7 +618,7 @@ impl FigureMgr {
|
||||
.join()
|
||||
{
|
||||
if stat.is_dead() {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
match actor {
|
||||
|
Loading…
Reference in New Issue
Block a user