[Engine] Allow sending "userinfo" while the menu is open

[Engine] Allow sending “userinfo” while the menu is open

diff --git a/src/docs/Changelog b/src/docs/Changelog
index f789cdf..57ff524 100644
--- a/src/docs/Changelog
+++ b/src/docs/Changelog
@@ -4,9 +4,10 @@
 	* [Engine] Implemented Com_Clampi and simplified timeNudge
 	* [SoundSystem] Don't play any sound if while application is minimized
 	* [SoundSystem] Don't play any sound if while application is unfocused
+	* [Engine] Allow sending "userinfo" while the menu is open
 	
 2021-04-03 Dusan Jocic <dusanjocic@msn>
-	* [RendererSystem} Addressed the problem with DPI inside the engine
+	* [RenderSystem} Addressed the problem with DPI inside the engine
 
 2021-04-01 Dusan Jocic <dusanjocic@msn.com>
 	* [Engine] Changed protocol version to 1001, 
diff --git a/src/engine/client/cl_main.cpp b/src/engine/client/cl_main.cpp
index dfdf495..71cd9d4 100644
--- a/src/engine/client/cl_main.cpp
+++ b/src/engine/client/cl_main.cpp
@@ -2999,11 +2999,13 @@ void CL_CheckUserinfo( void )
     {
         return;
     }
-    // don't overflow the reliable command buffer when paused
-    if( cl_paused->integer )
+    
+    // don't overflow the reliable command buffer when paused on a local server
+    if( cl_paused->integer && sv_paused->integer && com_sv_running->integer )
     {
         return;
     }
+    
     // send a reliable userinfo update if needed
     if( cvar_modifiedFlags & CVAR_USERINFO )
     {

GitHub
sha: 0cba32ff

© GrangerHub. All rights reserved. Tremulous © Darklegion Development. Granger by err-overflow and MoP licensed CC-BY-SA-2.5