Tile prying removes decals (#13363)

This commit is contained in:
Kara
2023-01-07 04:24:50 -06:00
committed by GitHub
parent c3e16e8efa
commit 572b762f2c
9 changed files with 109 additions and 93 deletions

View File

@@ -1,4 +1,5 @@
using Content.Shared.Chemistry.Reaction;
using Content.Server.Maps;
using Content.Shared.Chemistry.Reaction;
using Content.Shared.Chemistry.Reagent;
using Content.Shared.FixedPoint;
using Content.Shared.Maps;
@@ -13,7 +14,8 @@ public sealed class PryTileReaction : ITileReaction
{
public FixedPoint2 TileReact(TileRef tile, ReagentPrototype reagent, FixedPoint2 reactVolume)
{
tile.PryTile();
var sys = IoCManager.Resolve<IEntityManager>().System<TileSystem>();
sys.PryTile(tile);
return reactVolume;
}
}