A return to foam (foam rework) (#20831)
This commit is contained in:
@@ -197,6 +197,14 @@ public sealed class InternalsSystem : EntitySystem
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool AreInternalsWorking(EntityUid uid, InternalsComponent? component = null)
|
||||
{
|
||||
if (!Resolve(uid, ref component, false))
|
||||
return false;
|
||||
|
||||
return AreInternalsWorking(component);
|
||||
}
|
||||
|
||||
public bool AreInternalsWorking(InternalsComponent component)
|
||||
{
|
||||
return TryComp(component.BreathToolEntity, out BreathToolComponent? breathTool) &&
|
||||
|
||||
Reference in New Issue
Block a user