Content side for removing IMap / IMapGrid comps (#12357)
This commit is contained in:
@@ -70,7 +70,7 @@ namespace Content.Server.Chemistry.Components
|
||||
var xform = _entities.GetComponent<TransformComponent>(Owner);
|
||||
var solSys = _systems.GetEntitySystem<SolutionContainerSystem>();
|
||||
|
||||
if (!_entities.TryGetComponent(xform.GridUid, out IMapGridComponent? gridComp))
|
||||
if (!_entities.TryGetComponent(xform.GridUid, out MapGridComponent? gridComp))
|
||||
return;
|
||||
|
||||
var grid = gridComp.Grid;
|
||||
|
||||
@@ -105,7 +105,7 @@ namespace Content.Server.Chemistry.EntitySystems
|
||||
|
||||
vapor.ReactTimer += frameTime;
|
||||
|
||||
if (vapor.ReactTimer >= ReactTime && TryComp(xform.GridUid, out IMapGridComponent? gridComp))
|
||||
if (vapor.ReactTimer >= ReactTime && TryComp(xform.GridUid, out MapGridComponent? gridComp))
|
||||
{
|
||||
vapor.ReactTimer = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user