From 0106718fb8671c53c412438894ca1136218e4ee7 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 20 May 2010 10:30:15 +0200 Subject: [PATCH] Fixed: assert when Local mode is used --- code/ryzom/client/src/interface_v3/group_html_webig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/interface_v3/group_html_webig.cpp b/code/ryzom/client/src/interface_v3/group_html_webig.cpp index 6b596d694..14579e34d 100644 --- a/code/ryzom/client/src/interface_v3/group_html_webig.cpp +++ b/code/ryzom/client/src/interface_v3/group_html_webig.cpp @@ -66,7 +66,7 @@ static string getWebAuthKey() void addWebIGParams (string &url) { - if(!UserEntity) return; + if(!UserEntity || (NetMngr.getConnectionState() < CNetworkConnection::Connected)) return; uint32 cid = NetMngr.getLoginCookie().getUserId() * 16 + PlayerSelectedSlot; url += ((url.find('?') != string::npos) ? "&" : "?") +