replace_rsass_with_intervention 1.1

Fix bypassing restriction when changing class at the beginning of the match (thanks Kalitos)
This commit is contained in:
Resxt 2022-03-18 23:04:31 +01:00
parent 627ce1adb6
commit 280b03c021

View File

@ -17,7 +17,7 @@ OnPlayerSpawned()
self endon("disconnect"); self endon("disconnect");
for(;;) for(;;)
{ {
self waittill("spawned_player"); self waittill("changed_kit");
current_weapon = self GetCurrentWeapon(); current_weapon = self GetCurrentWeapon();
self thread DoWeaponCheck(current_weapon); self thread DoWeaponCheck(current_weapon);
} }