Update 1.58
feat(Globals): Updated phone calls feat(Globals): Updated session
This commit is contained in:
parent
0574fb8890
commit
1d210e8020
@ -5,6 +5,6 @@ namespace big
|
|||||||
{
|
{
|
||||||
void looped::tunables_disable_phone()
|
void looped::tunables_disable_phone()
|
||||||
{
|
{
|
||||||
*script_global(19781).as<bool*>() = g.tunables.disable_phone;
|
*script_global(19937).as<bool*>() = g.tunables.disable_phone;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -8,12 +8,12 @@ namespace big::session
|
|||||||
void join_type(SessionType session)
|
void join_type(SessionType session)
|
||||||
{
|
{
|
||||||
if (session.id == eSessionType::LEAVE_ONLINE)
|
if (session.id == eSessionType::LEAVE_ONLINE)
|
||||||
*script_global(1574587).at(2).as<int*>() = -1;
|
*script_global(1312443).at(2).as<int*>() = -1;
|
||||||
else
|
else
|
||||||
*script_global(1575004).as<int*>() = (int)session.id;
|
*script_global(1312860).as<int*>() = (int)session.id;
|
||||||
|
|
||||||
*script_global(1574587).as<int*>() = 1;
|
*script_global(1312443).as<int*>() = 1;
|
||||||
script::get_current()->yield(200ms);
|
script::get_current()->yield(200ms);
|
||||||
*script_global(1574587).as<int*>() = 0;
|
*script_global(1312443).as<int*>() = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user