Skip to content

Commit

Permalink
autopsy bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
musurca committed Jan 26, 2020
1 parent 907a5f9 commit 7f672ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/GR/functions/fn_doautopsy.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ if(_player getVariable ["ace_medical_medicClass", 0] == 2) then {
_medicF=true;
} else {
_nearObjs = _target nearObjects 15;
{
if(_x getVariable ["ace_medical_isMedicalFacility", false] != -1) exitWith { _medicF = true };
} forEach _nearObjs;
if(_nearObjs findIf {(_x getVariable ["ace_medical_isMedicalFacility", false]) || ((!isPlayer _x) && (_x getVariable ["ace_medical_medicClass", 0] > 0))} != -1) then {
_medicF = true;
};
};

// Patient name & age
Expand Down

0 comments on commit 7f672ef

Please sign in to comment.