Fix nullability.
Special thanks to rider for not telling me this errored.
This commit is contained in:
@@ -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)}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user