g_invalid on disconnect + walkbot lebensraum 2s check
This commit is contained in:
parent
540a32c18a
commit
8db1ac9009
@ -1258,7 +1258,7 @@ void Move()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
static Timer livingspace_timer{};
|
static Timer livingspace_timer{};
|
||||||
if (livingspace_timer.test_and_set(1000 * 8))
|
if (livingspace_timer.test_and_set(1000 * 2))
|
||||||
{
|
{
|
||||||
CheckLivingSpace();
|
CheckLivingSpace();
|
||||||
}
|
}
|
||||||
|
@ -378,6 +378,7 @@ static CatVar die_if_vac(CV_SWITCH, "die_if_vac", "0", "Die if VAC banned");
|
|||||||
|
|
||||||
void Shutdown_hook(void *_this, const char *reason)
|
void Shutdown_hook(void *_this, const char *reason)
|
||||||
{
|
{
|
||||||
|
g_Settings.bInvalid = true;
|
||||||
// This is a INetChannel hook - it SHOULDN'T be static because netchannel
|
// This is a INetChannel hook - it SHOULDN'T be static because netchannel
|
||||||
// changes.
|
// changes.
|
||||||
const Shutdown_t original =
|
const Shutdown_t original =
|
||||||
|
Reference in New Issue
Block a user