mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-16 16:15:24 +00:00
add suit check
This commit is contained in:
parent
c043e6a258
commit
053efa8c7e
@ -150,8 +150,9 @@ internal class MultiplayerHUDManager : MonoBehaviour, IAddComponentOnStart
|
||||
|
||||
_playerList.gameObject.SetActive(ServerSettingsManager.ShowExtraHUD);
|
||||
|
||||
var inSuit = Locator.GetPlayerSuit().IsWearingHelmet();
|
||||
|
||||
if (OWInput.IsNewlyPressed(InputLibrary.enter, InputMode.Character) && !_writingMessage)
|
||||
if (OWInput.IsNewlyPressed(InputLibrary.enter, InputMode.Character) && !_writingMessage && inSuit)
|
||||
{
|
||||
OWInput.ChangeInputMode(InputMode.KeyboardInput);
|
||||
_writingMessage = true;
|
||||
|
Loading…
Reference in New Issue
Block a user