diff --git a/WeaponsGiver.cs b/WeaponsGiver.cs index 2f5b4e6..0941ec2 100644 --- a/WeaponsGiver.cs +++ b/WeaponsGiver.cs @@ -31,14 +31,13 @@ public override void Load(bool hotReload) public void GetVars() { - if (!String.IsNullOrEmpty(ConVar.Find("mp_t_default_melee").StringValue())) { - tPrimary = ConVar.Find("mp_t_default_primary").StringValue; - tSecondary = ConVar.Find("mp_t_default_secondary").StringValue; - tMelee = ConVar.Find("mp_t_default_melee").StringValue; - ctPrimary = ConVar.Find("mp_ct_default_primary").StringValue; - ctSecondary = ConVar.Find("mp_ct_default_secondary").StringValue; - ctMelee = ConVar.Find("mp_ct_default_melee").StringValue; - } + tPrimary = ConVar.Find("mp_t_default_primary").StringValue; + tSecondary = ConVar.Find("mp_t_default_secondary").StringValue; + tMelee = ConVar.Find("mp_t_default_melee").StringValue; + ctPrimary = ConVar.Find("mp_ct_default_primary").StringValue; + ctSecondary = ConVar.Find("mp_ct_default_secondary").StringValue; + ctMelee = ConVar.Find("mp_ct_default_melee").StringValue; + } private HookResult Event_RoundPrestart(EventRoundPrestart @event, GameEventInfo info)