From 377c47ce74808dc7d2871eac80c4cd040894821b Mon Sep 17 00:00:00 2001 From: MrGadget Date: Wed, 3 Apr 2019 00:16:23 -0400 Subject: [PATCH] fix: Lobby Remove button not showing for P1 when Server Only --- Assets/Mirror/Components/NetworkLobbyPlayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Components/NetworkLobbyPlayer.cs b/Assets/Mirror/Components/NetworkLobbyPlayer.cs index 9042c9158..02def856a 100644 --- a/Assets/Mirror/Components/NetworkLobbyPlayer.cs +++ b/Assets/Mirror/Components/NetworkLobbyPlayer.cs @@ -111,7 +111,7 @@ public virtual void OnGUI() else GUILayout.Label("Not Ready"); - if (isServer && Index > 0 && GUILayout.Button("REMOVE")) + if (((isServer && Index > 0) || isServerOnly) && GUILayout.Button("REMOVE")) { // This button only shows on the Host for all players other than the Host // Host and Players can't remove themselves (stop the client instead)