mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Merge pull request #705 from vis2k/MrGadget1024-patch-2
fix: Lobby Remove button not showing for P1 when Server Only
This commit is contained in:
commit
5b30a94923
@ -111,7 +111,7 @@ public virtual void OnGUI()
|
|||||||
else
|
else
|
||||||
GUILayout.Label("Not Ready");
|
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
|
// 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)
|
// Host and Players can't remove themselves (stop the client instead)
|
||||||
|
Loading…
Reference in New Issue
Block a user