[QuickPatch] Datatype changed to float, correct flags added and fixed small typo

This commit is contained in:
H3X1C 2019-12-23 17:16:34 +00:00
parent 507994cd5b
commit 6a38fa01c5

View File

@ -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();