Removed a portion of the condition

This commit is contained in:
dixon13 2015-12-23 11:52:23 -07:00
parent 5f7e833d43
commit d3a1110250

View File

@ -1,6 +1,6 @@
/* /*
* Author: commy2 * Author: commy2
* Checks if the unit can interact with civilian on foot * Checks if the unit can interact with civilian
* *
* Arguments: * Arguments:
* 0: Unit <OBJECT> * 0: Unit <OBJECT>
@ -18,4 +18,4 @@
#include "script_component.hpp" #include "script_component.hpp"
params ["_unit", "_target", ["_isCivilian", true]]; params ["_unit", "_target", ["_isCivilian", true]];
alive _target && isNull objectParent _target && [side _target != side _unit, side group _target == civilian] select _isCivilian // return alive _target && [side _target != side _unit, side group _target == civilian] select _isCivilian // return