shared/config: Remove unsupported gametype option

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2020-12-21 02:00:05 +01:00
parent 677f35ec4a
commit cdd9153f8d
2 changed files with 3 additions and 11 deletions
@@ -65,12 +65,6 @@ end
-- ------------------------------------------------------------------------- -- -- ------------------------------------------------------------------------- --
--! Basic Settings --! Basic Settings
-- ------------------------------------------------------------------------- -- -- ------------------------------------------------------------------------- --
-- Game Mode (See sh_init.lua)
GM.Config.ConVars.GameType = CreateConVarIfNotExists("ph_gametype", GM.Types.Original, FCVAR_REPLICATED, "Prop Hunt: Which Game Type should be played? ("..GM.Types.Original.." = Original Prop Hunt, "..GM.Types.TheDeadHunt.." = The Dead Hunt Mode)")
function GM.Config:GameType()
return self.ConVars.GameType:GetInt()
end
-- Timelimit in minutes -- Timelimit in minutes
GM.Config.ConVars.TimeLimit = CreateConVarIfNotExists("mp_timelimit", "20", FCVAR_REPLICATED, "Map Time Limit (in Minutes)") GM.Config.ConVars.TimeLimit = CreateConVarIfNotExists("mp_timelimit", "20", FCVAR_REPLICATED, "Map Time Limit (in Minutes)")
function GM.Config:TimeLimit() function GM.Config:TimeLimit()
@@ -46,11 +46,6 @@ GM.States.Seek = 3
GM.States.PostRound = 4 GM.States.PostRound = 4
GM.States.PostMatch = 5 GM.States.PostMatch = 5
-- Game Modes
GM.Types = {}
GM.Types.Original = 0
GM.Types.TheDeadHunt = 1 -- Deprecated: One Hunter, Dead Prop become Hunter, Props can't see each other.
-- Teams -- Teams
GM.Teams = {} GM.Teams = {}
GM.Teams.Spectators = 0 GM.Teams.Spectators = 0
@@ -138,6 +133,9 @@ end
-- Meta -- Meta
include "meta/player.lua" include "meta/player.lua"
-- Defines
include "sh_defines.lua"
-- Configuration -- Configuration
include "sh_config.lua" include "sh_config.lua"