fix anom scanner interact check (#21929)
* fix anom scanner doafter check * no break on move, damage
This commit is contained in:
@@ -78,6 +78,8 @@ public sealed partial class AnomalySystem
|
||||
return;
|
||||
if (!HasComp<AnomalyComponent>(target))
|
||||
return;
|
||||
if (!args.CanReach)
|
||||
return;
|
||||
|
||||
_doAfter.TryStartDoAfter(new DoAfterArgs(EntityManager, args.User, component.ScanDoAfterDuration, new ScannerDoAfterEvent(), uid, target: target, used: uid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user