Comment out unused variables (#3713)

* Comment out unused variables

* Address reviews

* Address more reviews
This commit is contained in:
ShadowCommander
2021-05-31 15:01:13 -07:00
committed by GitHub
parent 67ae601863
commit 1d94ebdca5
6 changed files with 18 additions and 24 deletions

View File

@@ -51,7 +51,7 @@ namespace Content.Server.GameObjects.Components.Explosion
/// Max distance grenades can be thrown.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)] [DataField("distance")]
private float _throwDistance = 3;
private float _throwDistance = 50;
/// <summary>
/// This is the end.
@@ -113,7 +113,7 @@ namespace Content.Server.GameObjects.Components.Explosion
thrownCount++;
// TODO: Suss out throw strength
grenade.TryThrow(angle.ToVec().Normalized * 50);
grenade.TryThrow(angle.ToVec().Normalized * _throwDistance);
grenade.SpawnTimer(delay, () =>
{