Skip to content

Commit

Permalink
Update KnifeGiver.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
jithatsonei authored Feb 28, 2024
1 parent 7505b5f commit 6a4d5cc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions KnifeGiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ public override void Load(bool hotReload)

public void GetVars()
{
var tPrimary = ConVar.Find("mp_t_default_primary").Value.ToString();
var tSecondary = ConVar.Find("mp_t_default_secondary").Value.ToString();
var tMelee = ConVar.Find("mp_t_default_melee").Value.ToString();
var tPrimary = ConVar.Find("mp_t_default_primary").StringValue;
var tSecondary = ConVar.Find("mp_t_default_secondary").StringValue;
var tMelee = ConVar.Find("mp_t_default_melee").StringValue;

var ctPrimary = ConVar.Find("mp_ct_default_primary").Value.ToString();
var ctSecondary = ConVar.Find("mp_ct_default_secondary").Value.ToString();
var ctMelee = ConVar.Find("mp_ct_default_melee").Value.ToString();
var ctPrimary = ConVar.Find("mp_ct_default_primary").StringValue;
var ctSecondary = ConVar.Find("mp_ct_default_secondary").StringValue;
var ctMelee = ConVar.Find("mp_ct_default_melee").StringValue;
}

private HookResult Event_RoundPrestart(EventRoundPrestart @event, GameEventInfo info)
Expand Down

0 comments on commit 6a4d5cc

Please sign in to comment.