fire extinguisher go brrrrrr (#20479)

This commit is contained in:
Nemanja
2023-09-24 21:33:29 -04:00
committed by GitHub
parent c348582e04
commit efb66aa412
4 changed files with 28 additions and 11 deletions

View File

@@ -67,7 +67,7 @@ namespace Content.Server.Chemistry.EntitySystems
_physics.SetLinearDamping(physics, 0f);
_physics.SetAngularDamping(physics, 0f);
_throwing.TryThrow(vapor.Owner, dir, speed, user: user, pushbackRatio: ThrowingSystem.PushbackDefault * 10f);
_throwing.TryThrow(vapor.Owner, dir, speed, user: user);
var distance = (target.Position - vaporXform.WorldPosition).Length();
var time = (distance / physics.LinearVelocity.Length());