mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Reload Fix
This commit is contained in:
parent
6c7caeee3d
commit
29aa496c36
|
|
@ -323,6 +323,17 @@ function serverCmdScopeCommanderMap(%client, %scope)
|
||||||
%client.player.ccActive = %scope;
|
%client.player.ccActive = %scope;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Mortar Throw Reload Fix
|
||||||
|
function ShapeBase::throwWeapon(%this)
|
||||||
|
{
|
||||||
|
if((%this.getMountedImage($WeaponSlot).getName() $= "MortarImage" || %this.getMountedImage($WeaponSlot).getName() $= "MissileLauncherImage" || %this.getMountedImage($WeaponSlot).getName() $= "ShockLanceImage") &&
|
||||||
|
(%this.getImageState($WeaponSlot) $= "Reload" || %this.getImageState($WeaponSlot) $= "Fire")){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
parent::throwWeapon(%this);
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Prevent package from being activated if it is already
|
// Prevent package from being activated if it is already
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue