Skip to content

Commit

Permalink
TTTC now uses the new class slot
Browse files Browse the repository at this point in the history
  • Loading branch information
lebroomer committed May 5, 2019
1 parent d0d90c3 commit 92acfb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/classes/shared/hooks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ hook.Add("PlayerPostThink", "TTTCSetWeaponKind", function(ply)
if GetConVar("tttc_traitorbuy"):GetBool() and not ply.TTTCKindSet then
for _, w in pairs(ply:GetWeapons()) do
if w:GetNWBool("TTTC_class_weapon") then
w.Kind = WEAPON_EXTRA
w.Kind = WEAPON_CLASS
w.Doublicated = true

ply.TTTCKindSet = true
Expand Down

0 comments on commit 92acfb0

Please sign in to comment.