Skip to content

Commit

Permalink
Disable/Enable Chatbox input
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Dec 27, 2016
1 parent aa10d39 commit 8d12f9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ScreenNetSelectBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ bool ScreenNetSelectBase::Input( const InputEventPlus &input )

if( (c >= L' ') && (!bHoldingCtrl) )
{
if (!(GAMESTATE->m_pPlayerState[PLAYER_1])->onlineChatboxInput)
return true;
m_sTextInput += WStringToRString(wstring()+c);
UpdateTextInput();
}
Expand Down

0 comments on commit 8d12f9c

Please sign in to comment.