From 92acfb004f44e25f71d8e9a0f79deeae9ef3adb4 Mon Sep 17 00:00:00 2001 From: Leon Masopust Date: Sun, 5 May 2019 17:29:11 +0200 Subject: [PATCH] TTTC now uses the new class slot --- lua/classes/shared/hooks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/classes/shared/hooks.lua b/lua/classes/shared/hooks.lua index a0b8acd..3839538 100644 --- a/lua/classes/shared/hooks.lua +++ b/lua/classes/shared/hooks.lua @@ -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