From 3c3e17052f25b9dd6c3184a9cf02e1b3ee152990 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) ? "&" : "?") +