From c4cd55066f6b8c811029f7fa7f2d65f815aad0f7 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Sat, 11 Dec 2021 16:01:55 +0100 Subject: [PATCH] Fix nullability. Special thanks to rider for not telling me this errored. --- Content.Server/RoundEnd/RoundEndSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/RoundEnd/RoundEndSystem.cs b/Content.Server/RoundEnd/RoundEndSystem.cs index 54c4f7e082..421ced8b7a 100644 --- a/Content.Server/RoundEnd/RoundEndSystem.cs +++ b/Content.Server/RoundEnd/RoundEndSystem.cs @@ -93,7 +93,7 @@ namespace Content.Server.RoundEnd return; } - if (requester != default) + if (requester != null) { _adminLog.Add(LogType.ShuttleCalled, LogImpact.High, $"Shuttle called by {ToPrettyString(requester.Value)}"); } @@ -126,7 +126,7 @@ namespace Content.Server.RoundEnd return; } - if (requester != default) + if (requester != null) { _adminLog.Add(LogType.ShuttleRecalled, LogImpact.High, $"Shuttle recalled by {ToPrettyString(requester.Value)}"); }