mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
a
This commit is contained in:
1 parent
e180234df5
commit
6ce7aeaea0
1 file changed
+5
-3
@@ -594,6 +594,11 @@ public class ClientControlGUI : MonoBehaviour
|
||||
);
|
||||
});
|
||||
|
||||
if (amHost || ChatCommands.IsPlayerAdmin(PlayerControl.LocalPlayer.FriendCode))
|
||||
Btn(ref y, Label("Open Your Chat", "SHIFT + ENTER + C"), _sAction, () =>
|
||||
HudManager.Instance.Chat.SetVisible(true)
|
||||
);
|
||||
|
||||
if (amHost)
|
||||
{
|
||||
Section(ref y, "Host Controls");
|
||||
@@ -616,9 +621,6 @@ public class ClientControlGUI : MonoBehaviour
|
||||
});
|
||||
}
|
||||
|
||||
Btn(ref y, Label("Open Your Chat", "SHIFT + ENTER + C"), _sHost, () =>
|
||||
HudManager.Instance.Chat.SetVisible(true)
|
||||
);
|
||||
Btn(ref y, Label("Open Chat for All", "CTRL + SHIFT + ENTER + C"), _sHost, Utils.SetChatVisibleForAll);
|
||||
|
||||
if (noGameEnd)
|
||||
|
||||
Reference in new issue
Block a user