Skip to content

Commit

Permalink
Crash hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
PintTheDragon committed Mar 13, 2023
1 parent f608909 commit 1d7b305
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions SCPStats/API/API.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ public static void SpawnHat(Player player, HatInfo hat, bool showHat = false)
var scale = Vector3.one;
var item = hat.Item;

// TODO: Fix this when whatever NW's change is figured out.
if (item == ItemType.MicroHID || item == ItemType.Ammo9x19 || item == ItemType.Ammo12gauge ||
item == ItemType.Ammo44cal || item == ItemType.Ammo556x45 || item == ItemType.Ammo762x39)
{
return;
}

switch (item)
{
case ItemType.KeycardScientist:
Expand Down

0 comments on commit 1d7b305

Please sign in to comment.