diff --git a/Content.IntegrationTests/Tests/GameRules/NukeOpsTest.cs b/Content.IntegrationTests/Tests/GameRules/NukeOpsTest.cs index 8c7700e9c3..e5b57ed81b 100644 --- a/Content.IntegrationTests/Tests/GameRules/NukeOpsTest.cs +++ b/Content.IntegrationTests/Tests/GameRules/NukeOpsTest.cs @@ -230,10 +230,8 @@ public sealed class NukeOpsTest var totalTicks = (int) Math.Ceiling(totalSeconds / server.Timing.TickPeriod.TotalSeconds); var increment = 5; // Corvax-IPC-start - var isIPC = entMan.GetComponent(player).EntityPrototype!.ID == "MobIpc" ? true : false; - RespiratorComponent? resp = null; - if (!isIPC) - resp = entMan.GetComponent(player); + var isIPC = entMan.GetComponent(player).EntityPrototype!.ID == "MobIpc"; + RespiratorComponent? resp = isIPC ? null : entMan.GetComponent(player); // Corvax-IPC-end var damage = entMan.GetComponent(player); for (var tick = 0; tick < totalTicks; tick += increment)