diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2018-11-03 18:23:45 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2018-11-03 18:23:45 -0400 |
| commit | 28affa22541b9ef251707793f6b1c1a26d663592 (patch) | |
| tree | 622754894d75c74dc5e8516ccf184ad4bf328fef /gamemode/core/config/sv_config.lua | |
| parent | c639e7c7c6ab1595fdce39f56312e3d6a886bbe8 (diff) | |
| download | artery-28affa22541b9ef251707793f6b1c1a26d663592.tar.gz artery-28affa22541b9ef251707793f6b1c1a26d663592.tar.bz2 artery-28affa22541b9ef251707793f6b1c1a26d663592.zip | |
Started on new npc system
Started work on the new npc system
Diffstat (limited to 'gamemode/core/config/sv_config.lua')
| -rw-r--r-- | gamemode/core/config/sv_config.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gamemode/core/config/sv_config.lua b/gamemode/core/config/sv_config.lua index 6eb5394..2173dc0 100644 --- a/gamemode/core/config/sv_config.lua +++ b/gamemode/core/config/sv_config.lua @@ -8,12 +8,13 @@ local config = {} local addons = {} local function config_number(panel) - + error("TODO") end local config_types = { ["number"] = config_number, - "text", - "textbox" + ["boolean"] = config_boolean, + ["option"] = config_option, + ["text"] = config_text, } function config.RegisterConfig(name,t,func) assert(config_types[t],string.format("Attempted to register unknown config type %q, allowed types are %s"),t,table.concat(table.GetKeys(config_types))) |
