mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Corrected macro
This commit is contained in:
parent
aad56866ea
commit
49ef30ca5b
@ -34,7 +34,7 @@ if (isNil QEFUNC(captives,setSurrendered)) then {
|
|||||||
if (!alive _unit) then {
|
if (!alive _unit) then {
|
||||||
["Unit must be alive"] call DEFUNC(common,displayTextStructured);
|
["Unit must be alive"] call DEFUNC(common,displayTextStructured);
|
||||||
} else {
|
} else {
|
||||||
_surrendering = GETVAR(_unit,QEGVAR(captives,isSurrendering),false);
|
_surrendering = GETVAR(_unit,EGVAR(captives,isSurrendering),false);
|
||||||
// Event initalized by ACE_Captives
|
// Event initalized by ACE_Captives
|
||||||
["SetSurrendered", _unit, [_unit, !_surrendering]] call DEFUNC(common,targetEvent);
|
["SetSurrendered", _unit, [_unit, !_surrendering]] call DEFUNC(common,targetEvent);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user