Skip to content

Commit

Permalink
l4d2_fix_firsthit: Fix moving bots to the wrong team
Browse files Browse the repository at this point in the history
  • Loading branch information
jensewe committed Feb 4, 2024
1 parent bef5bcc commit 2446e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified addons/sourcemod/plugins/fixes/l4d2_fix_firsthit.smx
Binary file not shown.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/l4d2_fix_firsthit.sp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <dhooks>
#include <left4dhooks>

#define PLUGIN_VERSION "2.5"
#define PLUGIN_VERSION "2.5.1"

public Plugin myinfo =
{
Expand Down Expand Up @@ -55,7 +55,7 @@ MRESReturn DTR_SwapTeams()
for (int i = 1; i <= MaxClients; ++i)
{
if (IsClientInGame(i) && IsFakeClient(i) && GetClientTeam(i) == 3)
ChangeClientTeam(i, 0);
ChangeClientTeam(i, 1);
}

return MRES_Ignored;
Expand Down

0 comments on commit 2446e8f

Please sign in to comment.