From 8d00436a8de3faf13a6afcfc9585f90fe2ca19c2 Mon Sep 17 00:00:00 2001 From: vis2k Date: Thu, 6 Jan 2022 12:27:37 +0800 Subject: [PATCH] syntax --- Assets/Mirror/Runtime/NetworkClient.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Mirror/Runtime/NetworkClient.cs b/Assets/Mirror/Runtime/NetworkClient.cs index c9097b500..1c264d9e5 100644 --- a/Assets/Mirror/Runtime/NetworkClient.cs +++ b/Assets/Mirror/Runtime/NetworkClient.cs @@ -117,14 +117,14 @@ internal static void RegisterSystemHandlers(bool hostMode) { RegisterHandler(OnHostClientObjectDestroy); RegisterHandler(OnHostClientObjectHide); - RegisterHandler(msg => {}, false); + RegisterHandler(_ => {}, false); RegisterHandler(OnHostClientSpawn); // host mode doesn't need spawning - RegisterHandler(msg => {}); + RegisterHandler(_ => {}); // host mode doesn't need spawning - RegisterHandler(msg => {}); + RegisterHandler(_ => {}); // host mode doesn't need state updates - RegisterHandler(msg => {}); + RegisterHandler(_ => {}); } else {