From 280b03c021b7af216633f7bf12b123b06b09ed83 Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Fri, 18 Mar 2022 23:04:31 +0100 Subject: [PATCH] replace_rsass_with_intervention 1.1 Fix bypassing restriction when changing class at the beginning of the match (thanks Kalitos) --- replace_weapon_on_spawn/replace_rsass_with_intervention.gsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/replace_weapon_on_spawn/replace_rsass_with_intervention.gsc b/replace_weapon_on_spawn/replace_rsass_with_intervention.gsc index 6a09513..1007cda 100644 --- a/replace_weapon_on_spawn/replace_rsass_with_intervention.gsc +++ b/replace_weapon_on_spawn/replace_rsass_with_intervention.gsc @@ -17,7 +17,7 @@ OnPlayerSpawned() self endon("disconnect"); for(;;) { - self waittill("spawned_player"); + self waittill("changed_kit"); current_weapon = self GetCurrentWeapon(); self thread DoWeaponCheck(current_weapon); }