From 6a38fa01c5c1b909d91060df3cb7fea8eb1fb401 Mon Sep 17 00:00:00 2001 From: H3X1C <42491989+H3X1C@users.noreply.github.com> Date: Mon, 23 Dec 2019 17:16:34 +0000 Subject: [PATCH] [QuickPatch] Datatype changed to float, correct flags added and fixed small typo --- src/Components/Modules/QuickPatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/QuickPatch.cpp b/src/Components/Modules/QuickPatch.cpp index 6cb1f329..5fc47c8f 100644 --- a/src/Components/Modules/QuickPatch.cpp +++ b/src/Components/Modules/QuickPatch.cpp @@ -304,7 +304,7 @@ namespace Components 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"); + Game::Dvar_RegisterFloat("scr_intermissionTime", 10, 0, 120, Game::DVAR_FLAG_REPLICATED | Game::DVAR_FLAG_SAVED | Game::DVAR_FLAG_DEDISAVED, "Time in seconds before match server loads the next map"); // Disallow invalid player names Utils::Hook(0x401983, QuickPatch::InvalidNameStub, HOOK_JUMP).install()->quick();