1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00

Corrected macro

This commit is contained in:
SilentSpike 2015-05-18 13:07:19 +01:00
parent aad56866ea
commit 49ef30ca5b

View File

@ -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);
}; };