Skip to content

Commit

Permalink
Updated version number and removed test mod
Browse files Browse the repository at this point in the history
  • Loading branch information
gurrenm3 committed Dec 16, 2020
1 parent fea7f06 commit 0c1f764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Stats Core.Lib/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0")]
[assembly: AssemblyFileVersion("1.1.0")]
[assembly: AssemblyVersion("1.0.1")]
[assembly: AssemblyFileVersion("1.0.1")]
18 changes: 1 addition & 17 deletions Stats Core.Lib/TempMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,7 @@ internal class TempMod
{
public void PlayerUpdated(object sender, Player_Events.PlayerEventArgs e)
{
HitRange = 30000;
}

private static float? defaultSpeed;
private void SetMovementSpeed()
{
if (!defaultSpeed.HasValue)
defaultSpeed = Movement.Acceleration;

var multiplier = 6;
var newSpeed = defaultSpeed.Value * multiplier;

Movement.MovementSpeed = newSpeed;
Movement.ForwardMaxSpeed = newSpeed;
Movement.BackwardsMaxSpeed = newSpeed;
Movement.StrafeMaxSpeed = newSpeed;
Movement.Acceleration = newSpeed;

}
}
}

0 comments on commit 0c1f764

Please sign in to comment.