Skip to content

Commit

Permalink
fmt gun_give_name
Browse files Browse the repository at this point in the history
  • Loading branch information
destoer committed Feb 6, 2024
1 parent 67c77f8 commit b2aa248
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Lib/Weapon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static void GiveMenuWeaponCallback(this CCSPlayerController player, ChatMenuOpti
player.StripWeapons();

// give their desired guns with lots of reserve ammo
player.GiveNamedItem(gun_give_name(option.Text));
player.GiveNamedItem(GunGiveName(option.Text));
player.GiveWeapon("deagle");

CBasePlayerWeapon? primary = player.FindWeapon(GUN_LIST[option.Text]);
Expand Down Expand Up @@ -148,7 +148,7 @@ static void GiveMenuWeaponCallback(this CCSPlayerController player, ChatMenuOpti
{"AWP", "awp"},
};

public static String gun_give_name(String name)
public static String GunGiveName(String name)
{
return "weapon_" + GUN_LIST[name];
}
Expand Down

0 comments on commit b2aa248

Please sign in to comment.