mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical - fix canTreat (#7041)
* Update fnc_canTreat.sqf * Update fnc_canTreat.sqf
This commit is contained in:
parent
dc30d2a128
commit
9b2c8c84e8
@ -36,6 +36,10 @@ isClass _config
|
|||||||
GET_FUNCTION(_condition,_config >> "condition");
|
GET_FUNCTION(_condition,_config >> "condition");
|
||||||
|
|
||||||
if (_condition isEqualType {}) then {
|
if (_condition isEqualType {}) then {
|
||||||
|
if (_condition isEqualTo {}) exitWith {
|
||||||
|
_condition = true;
|
||||||
|
};
|
||||||
|
|
||||||
_condition = call _condition;
|
_condition = call _condition;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user