improvement: don't warn about g_sync if autoRecord

This commit is contained in:
WofWca authored and Tim Angus committed 2026-09-17 18:59:13 +01:00
1 parent 588393618d
commit 83a776283b
1 file changed
+5 -1
+5 -1
View File
@@ -716,7 +716,11 @@ void CL_Record_f( void ) {
}
// sync 0 doesn't prevent recording, so not forcing it off .. everyone does g_sync 1 ; record ; g_sync 0 ..
if ( NET_IsLocalAddress( clc.serverAddress ) && !Cvar_VariableValue( "g_synchronousClients" ) ) {
if ( NET_IsLocalAddress( clc.serverAddress ) &&
!Cvar_VariableValue( "g_synchronousClients" ) &&
// Don't nag if we're simply recording everything automatically.
!cl_autoRecordDemo->integer )
{
Com_Printf (S_COLOR_YELLOW "WARNING: You should set 'g_synchronousClients 1' for smoother demo recording\n");
}