From 8d3f42cd857cf0a7ef65615e2fc94fcd9f457af0 Mon Sep 17 00:00:00 2001 From: Vigers Ray Date: Sun, 6 Apr 2025 04:07:12 +0300 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=BF=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_Sunrise/PlanetPrison/PlanetPrisonStationSystem.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Server/_Sunrise/PlanetPrison/PlanetPrisonStationSystem.cs b/Content.Server/_Sunrise/PlanetPrison/PlanetPrisonStationSystem.cs index 1916018970..5e1289e505 100644 --- a/Content.Server/_Sunrise/PlanetPrison/PlanetPrisonStationSystem.cs +++ b/Content.Server/_Sunrise/PlanetPrison/PlanetPrisonStationSystem.cs @@ -108,6 +108,8 @@ public sealed class PlanetPrisonStationSystem : EntitySystem var opts = DeserializationOptions.Default with {InitializeMaps = true}; var uids = _gameTicker.LoadGameMap(gameMap, out var mapId, opts, rot: Angle.Zero); + component.MapId = mapId; + if (uids.Count != 1) { _sawmill.Warning("Prison station have more 1 grid.");