Merge branch 'mix-mountable-pets' into 'master'

Prevented mountable pets

See merge request veloren/veloren!2698
This commit is contained in:
Imbris 2021-07-29 19:41:09 +00:00
commit 20e7ec0423

View File

@ -560,7 +560,6 @@ impl StateExt for State {
) )
.with(comp::Scale(1.0)) .with(comp::Scale(1.0))
.with(comp::Vel(Vec3::new(0.0, 0.0, 0.0))) .with(comp::Vel(Vec3::new(0.0, 0.0, 0.0)))
.with(comp::MountState::Unmounted)
.build(); .build();
restore_pet(self.ecs(), pet_entity, entity, pet); restore_pet(self.ecs(), pet_entity, entity, pet);