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:
@@ -153,7 +153,7 @@ namespace Content.Shared.Throwing
|
||||
LandComponent(uid, thrown, physics, thrown.PlayLandSound);
|
||||
}
|
||||
|
||||
var stopThrowTime = (thrown.LandTime ?? thrown.ThrownTime) + TimeSpan.FromSeconds(ThrowingSystem.FlyTime);
|
||||
var stopThrowTime = thrown.LandTime ?? thrown.ThrownTime;
|
||||
if (stopThrowTime <= _gameTiming.CurTime)
|
||||
{
|
||||
StopThrow(uid, thrown);
|
||||
|
||||
Reference in New Issue
Block a user