mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-29 23:25:59 +00:00
Fixed: assert when Local mode is used
This commit is contained in:
parent
2d52f47640
commit
3c3e17052f
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