Make more uids nullable (#5794)
This commit is contained in:
@@ -118,8 +118,8 @@ namespace Content.Client.DoAfter
|
||||
|
||||
if (doAfter.BreakOnTargetMove)
|
||||
{
|
||||
if (EntityManager.EntityExists(doAfter.TargetUid) &&
|
||||
!Transform(doAfter.TargetUid).Coordinates.InRange(EntityManager, doAfter.TargetGrid,
|
||||
if (!EntityManager.Deleted(doAfter.Target) &&
|
||||
!Transform(doAfter.Target.Value).Coordinates.InRange(EntityManager, doAfter.TargetGrid,
|
||||
doAfter.MovementThreshold))
|
||||
{
|
||||
comp.Cancel(id, currentTime);
|
||||
|
||||
Reference in New Issue
Block a user