Multiply throwing force by 6 (#2259)
This commit is contained in:
@@ -78,14 +78,14 @@ namespace Content.Server.Throw
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// scaling is handled elsewhere, this is just multiplying by 10 independent of timing as a fix until elsewhere values are updated
|
// scaling is handled elsewhere, this is just multiplying by 60 independent of timing as a fix until elsewhere values are updated
|
||||||
var spd = throwForce * 10;
|
var spd = throwForce * 60;
|
||||||
|
|
||||||
projComp.StartThrow(angle.ToVec(), spd);
|
projComp.StartThrow(angle.ToVec(), spd);
|
||||||
|
|
||||||
if (throwSourceEnt != null &&
|
if (throwSourceEnt != null &&
|
||||||
throwSourceEnt.TryGetComponent<IPhysicsComponent>(out var physics) &&
|
throwSourceEnt.TryGetComponent<IPhysicsComponent>(out var physics) &&
|
||||||
physics.TryGetController(out MoverController mover))
|
physics.TryGetController(out ThrownController mover))
|
||||||
{
|
{
|
||||||
var physicsMgr = IoCManager.Resolve<IPhysicsManager>();
|
var physicsMgr = IoCManager.Resolve<IPhysicsManager>();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user