mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 11:28:26 +00:00
Just to be sure..
This commit is contained in:
parent
63c8fc2a79
commit
795c45df30
@ -970,13 +970,15 @@ public void OnClientCookiesCached(int client)
|
|||||||
}
|
}
|
||||||
|
|
||||||
gB_Auto[client] = (strlen(sCookie) > 0)? view_as<bool>(StringToInt(sCookie)):true;
|
gB_Auto[client] = (strlen(sCookie) > 0)? view_as<bool>(StringToInt(sCookie)):true;
|
||||||
|
int style = 0;
|
||||||
|
|
||||||
if(gH_StyleCookie != null)
|
if(gH_StyleCookie != null)
|
||||||
{
|
{
|
||||||
GetClientCookie(client, gH_StyleCookie, sCookie, 4);
|
GetClientCookie(client, gH_StyleCookie, sCookie, 4);
|
||||||
|
style = StringToInt(sCookie);
|
||||||
}
|
}
|
||||||
|
|
||||||
gBS_Style[client] = view_as<BhopStyle>((strlen(sCookie) > 0)? StringToInt(sCookie):0);
|
gBS_Style[client] = view_as<BhopStyle>((style >= 0 && style < gI_Styles)? style:0);
|
||||||
|
|
||||||
UpdateAutoBhop(client);
|
UpdateAutoBhop(client);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user