Skip to content

Commit

Permalink
Update gamerules.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenKal authored May 1, 2022
1 parent d0eada9 commit adf793e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions regamedll/dlls/gamerules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit adf793e

Please sign in to comment.