Grid map detaching: content edition.

This commit is contained in:
Pieter-Jan Briers
2018-06-10 01:03:49 +02:00
parent 9b251d70e2
commit 10999dc905
9 changed files with 19 additions and 25 deletions

View File

@@ -17,7 +17,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Projectile
private float _velocity = 20f;
protected override void Fire(IEntity user, LocalCoordinates clicklocation)
protected override void Fire(IEntity user, GridLocalCoordinates clicklocation)
{
var userposition = user.GetComponent<TransformComponent>().LocalPosition; //Remember world positions are ephemeral and can only be used instantaneously
var angle = new Angle(clicklocation.Position - userposition.Position);