Skip to content

Commit

Permalink
Merge pull request #79 from originalaidn/main
Browse files Browse the repository at this point in the history
fix CT respawn problem
  • Loading branch information
schwarper committed Aug 1, 2024
2 parents 3b87059 + ea3712f commit 9a9b8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Store/src/item/items/respawn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static void OnServerPrecacheResources(ResourceManifest manifest)
}
public static bool OnEquip(CCSPlayerController player, Dictionary<string, string> item)
{
if (player.Team is not CsTeam.Terrorist and CsTeam.CounterTerrorist)
if (player.Team is not CsTeam.Terrorist && player.Team is not CsTeam.CounterTerrorist)
{
return false;
}
Expand Down

0 comments on commit 9a9b8f2

Please sign in to comment.