mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix: Lobby Remove button not showing for P1 when Server Only
This commit is contained in:
parent
040bcb45ad
commit
377c47ce74
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user