feat(Tunables): Added no idle kick
This commit is contained in:
parent
ab77390428
commit
5accc047a2
@ -17,6 +17,7 @@ namespace big
|
||||
QUEUE_JOB_BEGIN_CLAUSE()
|
||||
{
|
||||
looped::tunables_disable_phone();
|
||||
looped::tunables_no_idle_kick();
|
||||
}QUEUE_JOB_END_CLAUSE
|
||||
|
||||
QUEUE_JOB_BEGIN_CLAUSE()
|
||||
|
@ -6,6 +6,7 @@ namespace big
|
||||
class looped {
|
||||
public:
|
||||
static void tunables_disable_phone();
|
||||
static void tunables_no_idle_kick();
|
||||
|
||||
static void player_specate();
|
||||
|
||||
|
14
BigBaseV2/src/backend/looped/tunables/no_idle_kick.cpp
Normal file
14
BigBaseV2/src/backend/looped/tunables/no_idle_kick.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
#include "backend/looped/looped.hpp"
|
||||
#include "script_global.hpp"
|
||||
|
||||
namespace big
|
||||
{
|
||||
void looped::tunables_no_idle_kick()
|
||||
{
|
||||
if (g.tunables.no_idle_kick)
|
||||
{
|
||||
*script_global(1379108).at(1149).as<int*>() = 0;
|
||||
*script_global(1379108).at(1165).as<int*>() = 0;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user