shared/config: Remove unsupported gametype option
This commit is contained in:
@@ -65,12 +65,6 @@ end
|
||||
-- ------------------------------------------------------------------------- --
|
||||
--! 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
|
||||
GM.Config.ConVars.TimeLimit = CreateConVarIfNotExists("mp_timelimit", "20", FCVAR_REPLICATED, "Map Time Limit (in Minutes)")
|
||||
function GM.Config:TimeLimit()
|
||||
|
||||
@@ -46,11 +46,6 @@ GM.States.Seek = 3
|
||||
GM.States.PostRound = 4
|
||||
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
|
||||
GM.Teams = {}
|
||||
GM.Teams.Spectators = 0
|
||||
@@ -138,6 +133,9 @@ end
|
||||
-- Meta
|
||||
include "meta/player.lua"
|
||||
|
||||
-- Defines
|
||||
include "sh_defines.lua"
|
||||
|
||||
-- Configuration
|
||||
include "sh_config.lua"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user