Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
jithatsonei committed Feb 28, 2024
1 parent 69b3737 commit 763dc55
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions WeaponsGiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 763dc55

Please sign in to comment.