about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/game_client.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp
index a461fdee..f1c8e49c 100644
--- a/src/game/client/game_client.cpp
+++ b/src/game/client/game_client.cpp
@@ -2762,6 +2762,14 @@ void render_game()
 			emoticon_selector_active = false;
 		}
 	}
+	
+	if(client_connection_problems())
+	{
+		gfx_mapscreen(0, 0, 400, 300);
+		const char *text = "Connection Problems...";
+		float w = gfx_pretty_text_width(24, text, -1);
+		gfx_pretty_text(200-w/2, 50, 24, text, -1);
+	}
 
 	// render score board
 	if(inp_key_pressed(KEY_TAB) || // user requested