Skip to content

Commit

Permalink
Update srccoop_addon_landing_screen.sp
Browse files Browse the repository at this point in the history
  • Loading branch information
Alienmario committed Jan 11, 2025
1 parent 7639b98 commit 211e2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripting/srccoop_addon_landing_screen.sp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void Event_PlayerChangeTeam(Event hEvent, const char[] szName, bool bDont
if (!bHidden[client])
{
int iTeam = hEvent.GetInt("team");
if (iTeam == TEAM_SCIENTIST || iTeam == TEAM_MARINES || iTeam == TEAM_UNASSIGNED)
if (iTeam > TEAM_SPECTATOR || iTeam == TEAM_UNASSIGNED)
{
ClientCommand(client, "r_screenoverlay 0");
bHidden[client] = true;
Expand Down

0 comments on commit 211e2ed

Please sign in to comment.