From a1e3d94f2f76d08f35eba4b5001d5e163f4ab2c2 Mon Sep 17 00:00:00 2001 From: vis2k Date: Sun, 30 Dec 2018 17:23:45 +0100 Subject: [PATCH] Syntax --- Mirror/Runtime/NetworkBehaviour.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mirror/Runtime/NetworkBehaviour.cs b/Mirror/Runtime/NetworkBehaviour.cs index 348b6142a..765f0e3a4 100644 --- a/Mirror/Runtime/NetworkBehaviour.cs +++ b/Mirror/Runtime/NetworkBehaviour.cs @@ -268,7 +268,7 @@ internal static bool GetInvokerForHashSyncEvent(int cmdHash, out CmdDelegate inv static bool GetInvokerForHash(int cmdHash, UNetInvokeType invokeType, out CmdDelegate invokeFunction) { - Invoker invoker = null; + Invoker invoker; if (!s_CmdHandlerDelegates.TryGetValue(cmdHash, out invoker)) { if (LogFilter.Debug) { Debug.Log("GetInvokerForHash hash:" + cmdHash + " not found"); }