Moved CSSWEAPONS from global to local
There's no reason to have it in globals if it's only used in one place
This commit is contained in:
parent
b83b5c56d5
commit
74035790dc
2 changed files with 6 additions and 6 deletions
|
@ -92,12 +92,6 @@ ZE_KNOCKBACKSCALE = 0.1
|
|||
|
||||
MASK_HOVER = bit.bor(CONTENTS_OPAQUE, CONTENTS_GRATE, CONTENTS_HITBOX, CONTENTS_DEBRIS, CONTENTS_SOLID, CONTENTS_WATER, CONTENTS_SLIME, CONTENTS_WINDOW, CONTENTS_LADDER, CONTENTS_PLAYERCLIP, CONTENTS_MOVEABLE, CONTENTS_DETAIL, CONTENTS_TRANSLUCENT)
|
||||
|
||||
CSSWEAPONS = {"weapon_knife","weapon_glock","weapon_usp","weapon_p228","weapon_deagle",
|
||||
"weapon_elite","weapon_fiveseven","weapon_m3","weapon_xm1014","weapon_galil",
|
||||
"weapon_ak47","weapon_scout","weapon_sg552","weapon_awp","weapon_g3sg1",
|
||||
"weapon_famas","weapon_m4a1","weapon_aug","weapon_sg550","weapon_mac10",
|
||||
"weapon_tmp","weapon_mp5navy","weapon_ump45","weapon_p90","weapon_m249"}
|
||||
|
||||
GM.BarricadeHealthMin = 50
|
||||
GM.BarricadeHealthMax = 1100
|
||||
GM.BarricadeHealthMassFactor = 3
|
||||
|
|
|
@ -8,6 +8,12 @@ GM.ZE_TimeLimit = 60 * 16
|
|||
|
||||
GM.DefaultZombieClass = GM.ZombieClasses["Super Zombie"].Index
|
||||
|
||||
local CSSWEAPONS = {"weapon_knife","weapon_glock","weapon_usp","weapon_p228","weapon_deagle",
|
||||
"weapon_elite","weapon_fiveseven","weapon_m3","weapon_xm1014","weapon_galil",
|
||||
"weapon_ak47","weapon_scout","weapon_sg552","weapon_awp","weapon_g3sg1",
|
||||
"weapon_famas","weapon_m4a1","weapon_aug","weapon_sg550","weapon_mac10",
|
||||
"weapon_tmp","weapon_mp5navy","weapon_ump45","weapon_p90","weapon_m249"}
|
||||
|
||||
function GM:Move(pl, move)
|
||||
if pl:Team() == TEAM_HUMAN then
|
||||
if pl:GetBarricadeGhosting() then
|
||||
|
|
Loading…
Reference in a new issue