Skip to content

Commit

Permalink
possible fix for stuck civs
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisum authored Apr 26, 2017
1 parent bd9074a commit ccfd899
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functions/behaviour/fn_stopCiv.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ if (_civ getVariable ["GRAD_civs_stopScriptRunning", false]) exitWith {
units _grp orderGetIn true;
INFO_1("%1 ordered to get in", leader _grp);
(leader _grp) setVariable ["GRAD_civs_currentlyThinking", "lets get in"];
units _grp doFollow leader _grp;
units _grp doFollow leader _grp;

} else {
units _grp doFollow leader _grp;

(leader _grp) setVariable ["GRAD_civs_currentlyThinking", "lets patrol around"];
INFO_1("%1 ordered to patrol", leader _grp);
Expand Down

0 comments on commit ccfd899

Please sign in to comment.