mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-04-19 04:32:53 +00:00
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:
parent
fd0d8f3df0
commit
375dceea87
@ -40,6 +40,7 @@ The move speed scale is reset whenever we switch weapons so we need to re-apply
|
|||||||
OnPlayerWeaponSwitch()
|
OnPlayerWeaponSwitch()
|
||||||
{
|
{
|
||||||
self endon("disconnect");
|
self endon("disconnect");
|
||||||
|
self endon("death");
|
||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user