mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 15:46:18 +00:00
Fixed: assert when Local mode is used
This commit is contained in:
parent
de6decfccc
commit
0106718fb8
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ static string getWebAuthKey()
|
||||||
|
|
||||||
void addWebIGParams (string &url)
|
void addWebIGParams (string &url)
|
||||||
{
|
{
|
||||||
if(!UserEntity) return;
|
if(!UserEntity || (NetMngr.getConnectionState() < CNetworkConnection::Connected)) return;
|
||||||
|
|
||||||
uint32 cid = NetMngr.getLoginCookie().getUserId() * 16 + PlayerSelectedSlot;
|
uint32 cid = NetMngr.getLoginCookie().getUserId() * 16 + PlayerSelectedSlot;
|
||||||
url += ((url.find('?') != string::npos) ? "&" : "?") +
|
url += ((url.find('?') != string::npos) ? "&" : "?") +
|
||||||
|
|
Loading…
Reference in a new issue