Fixes magic mirror interactions (#29491)
* Fix for magic mirror interaction * Works for all cases * swap the order, works --------- Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ public abstract class SharedMagicMirrorSystem : EntitySystem
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_interaction.InRangeUnobstructed(uid, component.Target.Value))
|
if (!_interaction.InRangeUnobstructed(component.Target.Value, uid))
|
||||||
args.Result = BoundUserInterfaceRangeResult.Fail;
|
args.Result = BoundUserInterfaceRangeResult.Fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user