]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
allow network payload data to inherit nullability (#21327)
authoravery <51971268+graevy@users.noreply.github.com>
Mon, 6 Nov 2023 02:25:25 +0000 (02:25 +0000)
committerGitHub <noreply@github.com>
Mon, 6 Nov 2023 02:25:25 +0000 (19:25 -0700)
Content.Server/DeviceNetwork/NetworkPayload.cs

index ae93eea0487e987fe164f04c2d3d3be504631e5d..eefbaa6eea54a0a219c62783c2881a928301fc85 100644 (file)
@@ -3,7 +3,7 @@ using System.Diagnostics.CodeAnalysis;
 
 namespace Content.Server.DeviceNetwork
 {
-    public sealed class NetworkPayload : Dictionary<string, object>
+    public sealed class NetworkPayload : Dictionary<string, object?>
     {
         /// <summary>
         /// Tries to get a value from the payload and checks if that value is of type  T.