committed by
GitHub
parent
e8e1c9dd1f
commit
415b7e96fd
@@ -59,9 +59,9 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Projectile
|
||||
serializer.DataField(ref _spreadStdDev, "spreadstddev", 3);
|
||||
}
|
||||
|
||||
private void Fire(IEntity user, GridLocalCoordinates clickLocation)
|
||||
private void Fire(IEntity user, GridCoordinates clickLocation)
|
||||
{
|
||||
var userPosition = user.Transform.LocalPosition; //Remember world positions are ephemeral and can only be used instantaneously
|
||||
var userPosition = user.Transform.GridPosition; //Remember world positions are ephemeral and can only be used instantaneously
|
||||
var angle = new Angle(clickLocation.Position - userPosition.Position);
|
||||
|
||||
if (Spread)
|
||||
|
||||
Reference in New Issue
Block a user