Improve throwing precision (#29726)

* improve throwing precision

* remove debugging logs

* minor fixes

* f

* Update Content.Shared/Throwing/LandAtCursorComponent.cs

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
slarticodefast
2024-07-08 11:03:53 +02:00
committed by GitHub
parent c8a87ceaab
commit 92e2980534
18 changed files with 93 additions and 39 deletions

View File

@@ -59,7 +59,6 @@ public sealed class ThrownItemVisualizerSystem : EntitySystem
if (length <= TimeSpan.Zero)
return null;
length += TimeSpan.FromSeconds(ThrowingSystem.FlyTime);
var scale = ent.Comp2.Scale;
var lenFloat = (float) length.TotalSeconds;