Skip to content

Commit

Permalink
fixes #1195 units do not display injuries
Browse files Browse the repository at this point in the history
Is caused because the system thinks medical is disabled for basic units, while this obviously is not the case.
  • Loading branch information
thojkooi committed May 16, 2015
1 parent 07bb473 commit 64ed117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/medical/functions/fnc_hasMedicalEnabled.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ _unit = _this select 0;

_medicalEnabled = _unit getvariable QGVAR(enableMedical);
if (isnil "_medicalEnabled") exitwith {
(((GVAR(enableFor) == 0 && (isPlayer _unit || (_unit getvariable [QEGVAR(common,isDeadPlayer), false])))) || (GVAR(enableFor) == 1));
(((GVAR(enableFor) == 0 && (isPlayer _unit || (_unit getvariable [QEGVAR(common,isDeadPlayer), false])))) || (GVAR(enableFor) == 1) || GVAR(level) == 1);
};

_medicalEnabled;

0 comments on commit 64ed117

Please sign in to comment.