Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -82,7 +82,7 @@ public sealed class AtmosAlarmableSystem : EntitySystem
|
||||
{
|
||||
if (component.IgnoreAlarms) return;
|
||||
|
||||
if (!EntityManager.TryGetComponent(uid, out DeviceNetworkComponent? netConn))
|
||||
if (!TryComp(uid, out DeviceNetworkComponent? netConn))
|
||||
return;
|
||||
|
||||
if (!args.Data.TryGetValue(DeviceNetworkConstants.Command, out string? cmd)
|
||||
|
||||
Reference in New Issue
Block a user