mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Backpacks - Add extra condition for backpack checking (#9428)
Update fnc_isBackpack.sqf
This commit is contained in:
parent
bf6dc5a7a1
commit
77a73aee71
@ -18,7 +18,7 @@
|
|||||||
params [["_backpack", objNull, [objNull, ""]]];
|
params [["_backpack", objNull, [objNull, ""]]];
|
||||||
|
|
||||||
if (_backpack isEqualType objNull) exitWith {
|
if (_backpack isEqualType objNull) exitWith {
|
||||||
maxLoad _backpack > 0
|
maxLoad _backpack > 0 && {getText (configOf _backpack >> "vehicleClass") == "backpacks"}
|
||||||
};
|
};
|
||||||
|
|
||||||
private _config = configFile >> "CfgVehicles" >> _backpack;
|
private _config = configFile >> "CfgVehicles" >> _backpack;
|
||||||
|
Loading…
Reference in New Issue
Block a user