mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Remove unused parameter
Gear is no longer used and can be removed from fthe function parameters
This commit is contained in:
@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* 0: Unit
|
* 0: Unit
|
||||||
* 1: getAllGear-Array
|
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* None
|
* None
|
||||||
@ -16,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
params ["_unit", "_gear"];
|
params ["_unit"];
|
||||||
private _backpack = backpack _unit;
|
private _backpack = backpack _unit;
|
||||||
|
|
||||||
if ((vehicle _unit) isKindOf "ParachuteBase" && {backpack _unit == ""} && {!(_unit getVariable [QGVAR(chuteIsCut),false])} && {_unit getVariable [QGVAR(hasReserve),false]}) then {
|
if ((vehicle _unit) isKindOf "ParachuteBase" && {backpack _unit == ""} && {!(_unit getVariable [QGVAR(chuteIsCut),false])} && {_unit getVariable [QGVAR(hasReserve),false]}) then {
|
||||||
|
Reference in New Issue
Block a user