mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixes #1195 units do not display injuries
Is caused because the system thinks medical is disabled for basic units, while this obviously is not the case.
This commit is contained in:
parent
104fcdc589
commit
808bb6d048
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user