This commit is contained in:
Vigers Ray 2025-04-06 04:07:12 +03:00
parent a92f633f98
commit 8d3f42cd85

View file

@ -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.");