diff --git a/infolan.sp b/infolan.sp index b2ce5fd..f8fd5a3 100644 --- a/infolan.sp +++ b/infolan.sp @@ -24,7 +24,7 @@ public Plugin myinfo = description = "Bot communiquant avec le bot discord \ https://github.com/Lunki51/cs-picker afin d’automatiser \ l’InfoLan 2021", - version = "1.5.2", + version = "1.5.4", url = "https://git.gnous.eu/Rick/infolanBot" }; @@ -32,7 +32,7 @@ public void OnPluginStart() { HookEvent("player_activate", SetTeamPlayer); HookEvent("cs_win_panel_round", UpdateScoreBoard); - HookEvent("cs_match_end_restart", TestRestart); + HookEvent("cs_pre_restart", TestRestart, EventHookMode_Pre); RegServerCmd("!team", SetTeam); /* pour le debug