fix: Lobby Remove button not showing for P1 when Server Only

This commit is contained in:
MrGadget 2019-04-03 00:16:23 -04:00 committed by GitHub
parent 040bcb45ad
commit 377c47ce74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)