From 11e9d4ed09e04b52d4bf4d43ca921df1ee507ec1 Mon Sep 17 00:00:00 2001 From: Ed Date: Sun, 3 Nov 2024 13:20:52 +0300 Subject: [PATCH] Update RoomFillSystem.cs --- Content.Server/Procedural/RoomFillSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Procedural/RoomFillSystem.cs b/Content.Server/Procedural/RoomFillSystem.cs index 28ee2c74fb..4e57c3be12 100644 --- a/Content.Server/Procedural/RoomFillSystem.cs +++ b/Content.Server/Procedural/RoomFillSystem.cs @@ -32,7 +32,7 @@ public sealed class RoomFillSystem : EntitySystem _dungeon.SpawnRoom( xform.GridUid.Value, mapGrid, - _maps.LocalToTile(xform.GridUid.Value, mapGrid, xform.Coordinates), + _maps.LocalToTile(xform.GridUid.Value, mapGrid, xform.Coordinates) - new Vector2i(room.Size.X/2,room.Size.Y/2), //CP14 Offset for halfroom room, random, null,