Prevented mountable pets

This commit is contained in:
Joshua Barretto 2021-07-29 19:04:07 +00:00
parent c8db3e3d95
commit aa3ede79c1

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);