mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Disable nominal key functions during in-game chat
This commit is contained in:
parent
8bfaea274e
commit
8780c2fd9b
|
@ -1354,7 +1354,7 @@ void modc_render()
|
|||
|
||||
// pseudo format
|
||||
float zoom = 3.0f;
|
||||
if(inp_key_pressed('I'))
|
||||
if(!chat_active && inp_key_pressed('I'))
|
||||
zoom = 1.0f;
|
||||
|
||||
float width = 400*zoom;
|
||||
|
|
Loading…
Reference in a new issue