From: melchior Date: Tue, 23 Jun 2020 23:20:29 +0000 (-0400) Subject: quick fix for Translocator repair crash X-Git-Tag: PR7.3~3 X-Git-Url: http://git.osdn.net/view?p=automap%2Fautomap.git;a=commitdiff_plain;h=486e515881e7fa1be1498021f24292106dbfa0ca quick fix for Translocator repair crash --- diff --git a/Automap/Designators/DefaultDesignators.cs b/Automap/Designators/DefaultDesignators.cs index 7637cb2..b4f6d30 100644 --- a/Automap/Designators/DefaultDesignators.cs +++ b/Automap/Designators/DefaultDesignators.cs @@ -183,7 +183,7 @@ namespace Automap Location = posn.Copy(), Notes = textTarget.ToString(), Timestamp = DateTime.UtcNow, - Destination = new BlockPosJson(te.TargetLocation) + Destination = te.TargetLocation != null ? new BlockPosJson(te.TargetLocation) : null//FIXME: Delayed rescan } );