DEADSOFTWARE

Net: Buffer outgoing messages
[d2df-sdl.git] / src / game / g_window.pas
index d790c4f852c9f468bd51c39ba4a9fd1b221faa20..d703ea2fc2088a829bfa3af1bf07b83d31b44f16 100644 (file)
@@ -829,6 +829,7 @@ begin
       e_DarkenQuadWH(0, 0, gScreenWidth, gScreenHeight, 150);
 
       DrawLoadingStat();
+      g_Console_Draw(True);
       SwapBuffers();
     end;
   end;
@@ -900,6 +901,8 @@ begin
     else if (NetMode = NET_CLIENT) then g_Net_Client_Update();
   end;
 
+  if NetMode = NET_SERVER then g_Net_Flush();
+
   g_Map_ProfilersEnd();
   g_Mons_ProfilersEnd();