mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update fnc_onMedicationUsage.sqf
This commit is contained in:
parent
1c4ee3e804
commit
6d1eb914c4
@ -53,7 +53,7 @@ if (_currentDose >= floor (_maxDosage + round(random(2))) && {_maxDosage >= 1})
|
||||
};
|
||||
} forEach _incompatabileMeds;
|
||||
|
||||
if ((count _overdosedMedications) > 0) then {
|
||||
if !(_overdosedMedications isEqualTo []) then {
|
||||
private _medicationConfig = (configFile >> "ace_medical_treatment" >> "Medication");
|
||||
private _onOverDose = getText (_medicationConfig >> "onOverDose");
|
||||
if (isClass (_medicationConfig >> _className)) then {
|
||||
|
Loading…
Reference in New Issue
Block a user