From adf793e229edc1425950fbd9b5da391987f51e35 Mon Sep 17 00:00:00 2001 From: StevenKal Date: Sun, 1 May 2022 11:04:02 +0000 Subject: [PATCH] Update gamerules.cpp --- regamedll/dlls/gamerules.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/regamedll/dlls/gamerules.cpp b/regamedll/dlls/gamerules.cpp index d31e6b565..d5ad924d1 100644 --- a/regamedll/dlls/gamerules.cpp +++ b/regamedll/dlls/gamerules.cpp @@ -127,6 +127,10 @@ void CGameRules::RefreshSkillData() gSkillData.batteryCapacity = 15; gSkillData.healthchargerCapacity = 50; gSkillData.healthkitCapacity = 15; + + // Extended for own purpose. + gSkillData.flFlashLightDrainTime = FLASH_DRAIN_TIME; + gSkillData.flFlashLightChargeTime = FLASH_CHARGE_TIME; } LINK_HOOK_CHAIN2(CGameRules *, InstallGameRules)