first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using NitroxClient.GameLogic.ChatUI;
|
||||
using NitroxModel.Core;
|
||||
|
||||
namespace NitroxClient.MonoBehaviours.Gui.Input.KeyBindings.Actions
|
||||
{
|
||||
public class ChatKeyBindingAction : KeyBindingAction
|
||||
{
|
||||
public override void Execute()
|
||||
{
|
||||
// If no other UWE input field is currently active then allow chat to open.
|
||||
if (FPSInputModule.current.lastGroup == null)
|
||||
{
|
||||
NitroxServiceLocator.LocateService<PlayerChatManager>().SelectChat();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user