Common - Let isEOD handle non bools (#7067)

This commit is contained in:
PabstMirror 2019-06-21 11:21:33 -05:00 committed by GitHub
parent a108062685
commit 445e082cc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,11 +13,11 @@
* is the unit an EOD <BOOL> * is the unit an EOD <BOOL>
* *
* Example: * Example:
* isSpecialist = [player] call FUNC(isEOD); * [player] call ace_common_fnc_isEOD
* *
* Public: Yes * Public: Yes
*/ */
params ["_unit"]; params ["_unit"];
_unit getVariable ["ACE_isEOD", _unit getUnitTrait "explosiveSpecialist"] // return (_unit getVariable ["ACE_isEOD", _unit getUnitTrait "explosiveSpecialist"]) in [1, true]