Improved session switcher for SC TV (#413)
This commit is contained in:
parent
d6fce67cbc
commit
84ba76b7a5
@ -8,6 +8,8 @@ namespace big::session
|
|||||||
{
|
{
|
||||||
void join_type(SessionType session)
|
void join_type(SessionType session)
|
||||||
{
|
{
|
||||||
|
*script_global(2726795).as<int*>() = (session.id == eSessionType::SC_TV ? 1 : 0); // If SC TV Then Enable Spectator Mode
|
||||||
|
|
||||||
if (session.id == eSessionType::LEAVE_ONLINE)
|
if (session.id == eSessionType::LEAVE_ONLINE)
|
||||||
*script_global(1574589).at(2).as<int*>() = -1;
|
*script_global(1574589).at(2).as<int*>() = -1;
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user