Allow protected grids to be repaired (#36989)
* Allow protected grids to be repaired * Probably implement it --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -395,7 +395,7 @@ public sealed class RCDSystem : EntitySystem
|
||||
if (prototype.Mode == RcdMode.ConstructTile)
|
||||
{
|
||||
// Check rule: Tile placement is valid
|
||||
if (!_floors.CanPlaceTile(gridUid, mapGrid, out var reason))
|
||||
if (!_floors.CanPlaceTile(gridUid, mapGrid, tile.GridIndices, out var reason))
|
||||
{
|
||||
if (popMsgs)
|
||||
_popup.PopupClient(reason, uid, user);
|
||||
|
||||
Reference in New Issue
Block a user