From: DDDragoni <38265528+DDeegan@users.noreply.github.com> Date: Mon, 19 Jan 2026 09:02:22 +0000 (-0800) Subject: Thieving beacons automatically set coordinates when unfolded. (#42520) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=76c09a6b1a53eeb216af6dd1678239b693c25558;p=space-station-14.git Thieving beacons automatically set coordinates when unfolded. (#42520) Thieving beacons set coordinates when unfolded --- diff --git a/Content.Shared/Thief/Systems/ThiefBeaconSystem.cs b/Content.Shared/Thief/Systems/ThiefBeaconSystem.cs index bff33cb781..9cf6814873 100644 --- a/Content.Shared/Thief/Systems/ThiefBeaconSystem.cs +++ b/Content.Shared/Thief/Systems/ThiefBeaconSystem.cs @@ -57,6 +57,15 @@ public sealed class ThiefBeaconSystem : EntitySystem { if (args.IsFolded) ClearCoordinate(beacon, args.User); + + if (!args.IsFolded) // Set the beacon's coordinates automatically when its unfolded + { + if (args.User == null) + return; + var mind = _mind.GetMind(args.User.Value); + if (mind != null) + SetCoordinate(beacon, mind.Value, args.User); + } } private void OnExamined(Entity beacon, ref ExaminedEvent args)