Fix melee weapon effects being offset incorrectly (#4102)

This commit is contained in:
mirrorcult
2021-05-28 01:58:30 -07:00
committed by GitHub
parent 8b0826ff83
commit 58d15ebc3b

View File

@@ -77,8 +77,8 @@ namespace Content.Client.GameObjects.EntitySystems
Coordinates = attacker.Transform.Coordinates,
Color = Vector4.Multiply(new Vector4(255, 255, 255, 125), 1.0f),
ColorDelta = Vector4.Multiply(new Vector4(0, 0, 0, -10), 1.0f),
Velocity = msg.Angle.ToVec(),
Acceleration = msg.Angle.ToVec() * 5f,
Velocity = msg.Angle.ToWorldVec(),
Acceleration = msg.Angle.ToWorldVec() * 5f,
Born = curTime,
DeathTime = curTime.Add(TimeSpan.FromMilliseconds(300f)),
};