From 22864ca62930fba8b3f58fb1a6dafca0951a3e8c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 14 Dec 2024 18:22:22 +0300 Subject: fixes #4804 (Steam: crash at login) --- protocols/Steam/src/steam_ws.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/Steam/src') diff --git a/protocols/Steam/src/steam_ws.cpp b/protocols/Steam/src/steam_ws.cpp index dcf6d0743a..7c7c6f32c1 100644 --- a/protocols/Steam/src/steam_ws.cpp +++ b/protocols/Steam/src/steam_ws.cpp @@ -27,6 +27,7 @@ void __cdecl CSteamProto::ServerThread(void *) Logout(); return; } + iHostCount = db_get_dw(0, STEAM_MODULE, DBKEY_HOSTS_COUNT); } srand(time(0)); -- cgit v1.2.3