Content changes for mapgrid kill (#12567)
This commit is contained in:
@@ -9,6 +9,7 @@ using Content.Shared.Throwing;
|
||||
using Content.Shared.Vapor;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Map.Components;
|
||||
using Robust.Shared.Physics.Components;
|
||||
using Robust.Shared.Physics.Dynamics;
|
||||
using Robust.Shared.Physics.Events;
|
||||
@@ -109,7 +110,7 @@ namespace Content.Server.Chemistry.EntitySystems
|
||||
{
|
||||
vapor.ReactTimer = 0;
|
||||
|
||||
var tile = gridComp.Grid.GetTileRef(xform.Coordinates.ToVector2i(EntityManager, _mapManager));
|
||||
var tile = gridComp.GetTileRef(xform.Coordinates.ToVector2i(EntityManager, _mapManager));
|
||||
foreach (var reagentQuantity in contents.Contents.ToArray())
|
||||
{
|
||||
if (reagentQuantity.Quantity == FixedPoint2.Zero) continue;
|
||||
|
||||
Reference in New Issue
Block a user