mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-19 19:40:21 +00:00
engine: client: move Cbuf_Execute out of Host_InputFrame, cbuf will be executed always at ClientBegin. Fixes #482
This commit is contained in:
parent
d011dccaab
commit
5b387ba36a
@ -2973,12 +2973,12 @@ Host_ClientBegin
|
||||
*/
|
||||
void Host_ClientBegin( void )
|
||||
{
|
||||
// if client is not active, do nothing
|
||||
if( !cls.initialized ) return;
|
||||
|
||||
// exec console commands
|
||||
Cbuf_Execute ();
|
||||
|
||||
// if client is not active, do nothing
|
||||
if( !cls.initialized ) return;
|
||||
|
||||
// finalize connection process if needs
|
||||
CL_CheckClientState();
|
||||
|
||||
|
@ -669,8 +669,6 @@ void Host_InputFrame( void )
|
||||
}
|
||||
}
|
||||
|
||||
Cbuf_Execute ();
|
||||
|
||||
if( !in_mouseinitialized )
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user