diff --git a/source/gamemodes/prophuntextended/gamemode/sh_config.lua b/source/gamemodes/prophuntextended/gamemode/sh_config.lua index 9b89a6f..7bf031b 100644 --- a/source/gamemodes/prophuntextended/gamemode/sh_config.lua +++ b/source/gamemodes/prophuntextended/gamemode/sh_config.lua @@ -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() diff --git a/source/gamemodes/prophuntextended/gamemode/sh_init.lua b/source/gamemodes/prophuntextended/gamemode/sh_init.lua index 9de5f2a..0c2cc1a 100644 --- a/source/gamemodes/prophuntextended/gamemode/sh_init.lua +++ b/source/gamemodes/prophuntextended/gamemode/sh_init.lua @@ -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"