Shared: Use correct ConVar for Config::Teams::SeekerPercentage()

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2018-03-04 21:57:43 +01:00
parent 3a78c97742
commit 05cf316c58
@@ -115,7 +115,7 @@ end
-- The Dead Hunt: Percent of players to assign to seeker. -- The Dead Hunt: Percent of players to assign to seeker.
GM.Config.Teams.ConVars.SeekerPercentage = CreateConVarIfNotExists("ph_teams_seekerpct", "25", FCVAR_REPLICATED, "Teams: Initial percentage of Seekers in Dead Hunt Game Type") GM.Config.Teams.ConVars.SeekerPercentage = CreateConVarIfNotExists("ph_teams_seekerpct", "25", FCVAR_REPLICATED, "Teams: Initial percentage of Seekers in Dead Hunt Game Type")
function GM.Config.Teams:SeekerPercentage() function GM.Config.Teams:SeekerPercentage()
return self.ConVars.Teams:GetFloat() / 100 return self.ConVars.SeekerPercentage:GetFloat() / 100
end end
-- ------------------------------------------------------------------------- -- -- ------------------------------------------------------------------------- --