Skip to content

Commit d9b09c5

Browse files
authored
Fix player biled error on antibaiter plugin (SirPlease#994)
* Fix player biled error * Oh yeah, i'm not a co‑author
1 parent 5d4de25 commit d9b09c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎addons/sourcemod/scripting/l4d2_antibaiter.sp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public Plugin myinfo =
6868
name = "L4D2 Antibaiter",
6969
author = "Visor, Sir (assisted by Devilesk), A1m`",
7070
description = "Makes you think twice before attempting to bait that shit",
71-
version = "1.3.6",
71+
version = "1.4.0",
7272
url = "https://github.com/SirPlease/L4D2-Competitive-Rework"
7373
};
7474

@@ -82,7 +82,7 @@ public void OnPluginStart()
8282
hCvarStopTimerOnBile = CreateConVar("l4d2_antibaiter_bile_stop", "0", "Stop timer when a player is biled?");
8383

8484
HookEvent("round_start", Event_RoundStart, EventHookMode_PostNoCopy);
85-
HookEvent("player_now_it", Event_PlayerBiled, EventHookMode_PostNoCopy);
85+
HookEvent("player_now_it", Event_PlayerBiled, EventHookMode_Post);
8686
HookEvent("round_end", Event_RoundEnd, EventHookMode_PostNoCopy);
8787
HookEvent("player_left_start_area", Event_RoundGoesLive, EventHookMode_PostNoCopy);
8888

0 commit comments

Comments
 (0)