mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Disable wound reopening when advanced bandages are disabled
This commit is contained in:
parent
70a2dc30e7
commit
0ddfd5eb16
@ -2896,7 +2896,7 @@
|
||||
<English>Advanced Bandages</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_MedicalSettings_advancedBandages_Description">
|
||||
<English>Enable advanced bandages</English>
|
||||
<English>Enable advanced bandages (required for wound reopening)</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Medical_MedicalSettings_advancedMedication_DisplayName">
|
||||
<English>Advanced Medication</English>
|
||||
|
@ -98,7 +98,7 @@ _openWounds set [_mostEffectiveSpot, _mostEffectiveInjury];
|
||||
_target setVariable [QEGVAR(medical,openWounds), _openWounds, true];
|
||||
|
||||
// Handle the reopening of bandaged wounds
|
||||
if (_impact > 0 && {EGVAR(medical,woundReopening)}) then {
|
||||
if (_impact > 0 && {EGVAR(medical,advancedBandages) && {EGVAR(medical,woundReopening)}}) then {
|
||||
[_target, _impact, _partIndex, _mostEffectiveSpot, _mostEffectiveInjury, _bandage] call FUNC(handleBandageOpening);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user