From 6a5e7dbecb511bf8ecf61bf8507a4bdf0b1e00cf Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Fri, 30 Apr 2021 07:56:17 +1000 Subject: [PATCH] TryGetEntitySystem nullable (#3903) --- Content.Client/State/GameScreenBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/State/GameScreenBase.cs b/Content.Client/State/GameScreenBase.cs index f9b6883c55..3c92760126 100644 --- a/Content.Client/State/GameScreenBase.cs +++ b/Content.Client/State/GameScreenBase.cs @@ -217,7 +217,7 @@ namespace Content.Client.State private void OnKeyBindStateChanged(ViewportBoundKeyEventArgs args) { // If there is no InputSystem, then there is nothing to forward to, and nothing to do here. - if(!EntitySystemManager.TryGetEntitySystem(out InputSystem inputSys)) + if(!EntitySystemManager.TryGetEntitySystem(out InputSystem? inputSys)) return; var kArgs = args.KeyEventArgs;