~ruther/NosSmooth

e51525bc19cf806e64649c5dc6c9dad924b2194b — František Boháček 2 years ago 44ccde1
chore: use is instead of == for checking null
1 files changed, 1 insertions(+), 1 deletions(-)

M Core/NosSmooth.Game/PacketHandlers/Raids/RaidResponder.cs
M Core/NosSmooth.Game/PacketHandlers/Raids/RaidResponder.cs => Core/NosSmooth.Game/PacketHandlers/Raids/RaidResponder.cs +1 -1
@@ 104,7 104,7 @@ public class RaidResponder : IPacketResponder<RaidPacket>
            ct: ct
        );

        if (currentRaid == null && prevRaid != null)
        if (currentRaid is null && prevRaid is not null)
        {
            return await _eventDispatcher.DispatchEvent(new RaidFinishedEvent(prevRaid), ct);
        }

Do not follow this link