This commit is contained in:
metalgearsloth
2023-01-18 05:25:32 +11:00
committed by GitHub
parent 4456229836
commit 6c9ce79387
27 changed files with 405 additions and 22 deletions

View File

@@ -82,8 +82,7 @@ public sealed class ThrowingSystem : EntitySystem
if (time < FlyTime)
{
_physics.SetBodyStatus(physics, BodyStatus.OnGround);
_thrownSystem.LandComponent(comp);
_thrownSystem.LandComponent(comp, physics);
}
else
{
@@ -94,8 +93,7 @@ public sealed class ThrowingSystem : EntitySystem
if (physics.Deleted)
return;
_physics.SetBodyStatus(physics, BodyStatus.OnGround);
_thrownSystem.LandComponent(comp);
_thrownSystem.LandComponent(comp, physics);
});
}