Dogtags - Stop throwing error when trying to take dog tags (#10103)

Stop throwing error
This commit is contained in:
johnb432 2024-07-02 20:16:28 +02:00 committed by GitHub
parent 45f9301019
commit 516eb48c93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,4 +23,4 @@ if (isNull _target) exitWith {false};
// check if disabled for faction
if ((faction _target) in GVAR(disabledFactions)) exitWith {false};
((!alive _target) || {_target getVariable ["ACE_isUnconscious", false]}) && {_player canAdd ["ACE_dogtag", 1/*, true*/]} // Todo: Uncomment in 2.18
((!alive _target) || {_target getVariable ["ACE_isUnconscious", false]}) && {_player canAdd ["ACE_dogtag_1", 1/*, true*/]} // Todo: Uncomment in 2.18