remove_heavy_weapon_slow 1.0.1

An additional OnPlayerWeaponSwitch function was threaded on every spawn. Now it will stop when the player dies and thread a new one as expected
This commit is contained in:
Resxt 2023-04-15 14:32:58 +02:00
parent fd0d8f3df0
commit 375dceea87

View File

@ -40,6 +40,7 @@ The move speed scale is reset whenever we switch weapons so we need to re-apply
OnPlayerWeaponSwitch()
{
self endon("disconnect");
self endon("death");
for (;;)
{