mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
removed some debug keys
This commit is contained in:
parent
9b7900fa10
commit
43ceec0f9c
|
@ -875,16 +875,19 @@ static void client_run(const char *direct_connect_server)
|
|||
gfx_screenshot();
|
||||
|
||||
// panic button
|
||||
if(input::pressed(input::lctrl) && input::pressed('Q'))
|
||||
break;
|
||||
|
||||
if(input::pressed(input::f5))
|
||||
if(config.debug)
|
||||
{
|
||||
// ack snapshot
|
||||
msg_pack_start_system(NETMSG_SNAPACK, 0);
|
||||
msg_pack_int(-1);
|
||||
msg_pack_end();
|
||||
client_send_msg();
|
||||
if(input::pressed(input::lctrl) && input::pressed('Q'))
|
||||
break;
|
||||
|
||||
if(input::pressed(input::f5))
|
||||
{
|
||||
// ack snapshot
|
||||
msg_pack_start_system(NETMSG_SNAPACK, 0);
|
||||
msg_pack_int(-1);
|
||||
msg_pack_end();
|
||||
client_send_msg();
|
||||
}
|
||||
}
|
||||
|
||||
// pump the network
|
||||
|
|
Loading…
Reference in a new issue