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 4332bba commit 907a5f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/GR/functions/fn_doautopsy.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if(_player getVariable ["ace_medical_medicClass", 0] == 2) then {
} else {
_nearObjs = _target nearObjects 15;
{
if(_x getVariable ["ace_medical_isMedicalFacility", false] == true) exitWith { _medicF = true };
if(_x getVariable ["ace_medical_isMedicalFacility", false] != -1) exitWith { _medicF = true };
} forEach _nearObjs;
};

Expand Down
2 changes: 1 addition & 1 deletion addons/GR/functions/fn_initCBA.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ GR_AUTOPSY_DOCTORS=2;
"LIST",
["Who can perform autopsies?","Choose which class(es) can perform basic autopsies."],
"Guilt & Remembrance",
[[GR_AUTOPSY_ANYONE,GR_AUTOPSY_MEDICS,GR_AUTOPSY_DOCTORS],["Anyone","Medics+Doctors","Doctors only"],2]
[[GR_AUTOPSY_ANYONE,GR_AUTOPSY_MEDICS,GR_AUTOPSY_DOCTORS],["Anyone","Medics+Doctors","Doctors only"],1]
] call CBA_fnc_AddSetting;

[
Expand Down

0 comments on commit 907a5f9

Please sign in to comment.