From 507994cd5b5d60f216fd53900e526f260f88e997 Mon Sep 17 00:00:00 2001 From: H3X1C <42491989+H3X1C@users.noreply.github.com> Date: Mon, 23 Dec 2019 15:58:42 +0000 Subject: [PATCH] [QuickPatch] Add intermission time dvar --- src/Components/Modules/QuickPatch.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Components/Modules/QuickPatch.cpp b/src/Components/Modules/QuickPatch.cpp index 52436853..6cb1f329 100644 --- a/src/Components/Modules/QuickPatch.cpp +++ b/src/Components/Modules/QuickPatch.cpp @@ -303,6 +303,9 @@ namespace Components sv_enableBounces = Game::Dvar_RegisterBool("sv_enableBounces", false, Game::DVAR_FLAG_REPLICATED, "Enables bouncing on the server"); Utils::Hook(0x4B1B2D, QuickPatch::BounceStub, HOOK_JUMP).install()->quick(); + // Intermission time dvar + Game::Dvar_RegisterInt("scr_intermissionTime", 10, 1, 120, Game::DVAR_FLAG_REPLICATED, "Time in seconds before match serever loads the next map"); + // Disallow invalid player names Utils::Hook(0x401983, QuickPatch::InvalidNameStub, HOOK_JUMP).install()->quick();