engine: common: allow unlimited commands for unprivileged mode at this time to not break mods like GGM

This commit is contained in:
Alibek Omarov 2021-11-19 05:15:40 +03:00 committed by a1batross
parent 992bcd89ef
commit 1944f48516
1 changed files with 4 additions and 1 deletions

View File

@ -257,7 +257,10 @@ void Cbuf_Execute( void )
{
Cbuf_ExecuteCommandsFromBuffer( &cmd_text, true, -1 );
#if !XASH_DEDICATED
Cbuf_ExecuteCommandsFromBuffer( &filteredcmd_text, false, 1 );
// a1ba: unlimited commands for filtered buffer per frame
// I don't see any sense in restricting that at this moment
// but in future we may limit this
Cbuf_ExecuteCommandsFromBuffer( &filteredcmd_text, false, -1 );
#endif
}