mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed so that you can press esc when connecting
This commit is contained in:
parent
323cc16105
commit
2cd3f5b023
|
@ -444,7 +444,6 @@ void client::render()
|
|||
{
|
||||
//netaddr4 server_address;
|
||||
int status = modmenu_render();
|
||||
|
||||
if (status == -1)
|
||||
set_state(STATE_QUIT);
|
||||
}
|
||||
|
@ -476,6 +475,9 @@ void client::render()
|
|||
|
||||
ui_do_image(tee_texture, x, 95, w, 64);
|
||||
ui_do_image(connecting_texture, 88, 150, 256, 64);
|
||||
|
||||
if(inp_key_down(input::esc))
|
||||
disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue