mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 02:10:53 +00:00
Fixed: assert when Local mode is used
This commit is contained in:
parent
79e9fb5bdc
commit
78111dec49
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