Remove null check for ShipStatus known to not be null

This commit is contained in:
AlexejheroYTB authored and GitHub committed 2022-04-20 08:07:59 +03:00
1 parent ed008872f6
commit 743b8ed5cb
1 file changed
+1 -1
@@ -76,7 +76,7 @@ namespace Impostor.Server.Net.Inner.Objects.Components
break;
}
if (!Game.GameNet.ShipStatus!.Data.Vents.TryGetValue(ventId, out var vent))
if (!Game.GameNet.ShipStatus.Data.Vents.TryGetValue(ventId, out var vent))
{
if (await sender.Client.ReportCheatAsync(call, "Client interacted with nonexistent vent"))
{