Medical Treatment - Fix invalid usage of ARR macro (#7933)

This commit is contained in:
Björn Dahlgren 2020-10-03 17:21:29 +02:00 committed by GitHub
parent c4e7092ebf
commit 8e7f9b6db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,14 +287,14 @@ class CfgVehicles {
class ACE_OpenLid {
displayName = ECSTRING(medical,openLid);
condition = QUOTE(alive _target && {_target animationPhase 'Cover' < 0.5});
statement = QUOTE(_target animate ARR_2(['Cover',1]));
statement = QUOTE(_target animate [ARR_2('Cover',1)]);
showDisabled = 0;
priority = -1;
};
class ACE_CloseLid {
displayName = ECSTRING(medical,closeLid);
condition = QUOTE(alive _target && {_target animationPhase 'Cover' >= 0.5});
statement = QUOTE(_target animate ARR_2(['Cover',0]));
statement = QUOTE(_target animate [ARR_2('Cover',0)]);
showDisabled = 0;
priority = -1;
};