Skip to content

Commit

Permalink
l4d2_fix_firsthit: Fix moving bots to the wrong team (SirPlease#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
jensewe authored and fantasylidong committed Feb 10, 2024
1 parent 1d3a1ca commit c3d0123
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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
4 changes: 0 additions & 4 deletions cfg/confogl_gamemodes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,4 @@ confogl_addcvar z_jockey_ride_damage_interval 0.5
confogl_addcvar tank_burn_duration 90
confogl_addcvar tongue_choke_damage_amount 5
confogl_addcvar tongue_break_from_damage_amount 300
confogl_addcvar shop_enable 0
confogl_addcvar join_autoupdate 0
confogl_addcvar rpg_allow_biggun 0
confogl_addcvar rpg_allow_glow 0
confogl_addcvar sm_cvar sv_allow_wait_command 0
4 changes: 4 additions & 0 deletions cfg/confogl_personalize.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
confogl_addcvar shop_enable 0
confogl_addcvar join_autoupdate 0
confogl_addcvar rpg_allow_biggun 0
confogl_addcvar rpg_allow_glow 0

0 comments on commit c3d0123

Please sign in to comment.