Skip to content

Commit

Permalink
Merge pull request #218 from Vdauphin/FIX-ACE_warning_handcuffed
Browse files Browse the repository at this point in the history
FIX: warning of handcutoff due to locallity
  • Loading branch information
Vdauphin authored Oct 2, 2016
2 parents 0469e9b + 62a8d52 commit 5815952
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/hostage.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ _city setVariable ["spawn_more",true];
//// Hostage
_group_civ = createGroup civilian;
_group_civ setVariable ["no_cache",true];
(selectRandom btc_civ_type_units) createUnit [_pos, _group_civ, "_captive = this; [this,true] call ACE_captives_fnc_setHandcuffed;"];
(selectRandom btc_civ_type_units) createUnit [_pos, _group_civ, "_captive = this;"];
waitUntil {local _captive};
[_captive,true] call ACE_captives_fnc_setHandcuffed;
_captive setPos _pos;
_captive call btc_fnc_civ_unit_create;

Expand Down

0 comments on commit 5815952

Please sign in to comment.