Skip to content

Commit

Permalink
Surgery - Pericardial Tap fix (#733)
Browse files Browse the repository at this point in the history
**When merged this pull request will:**
- Title

### IMPORTANT

- [Development Guidelines](https://ace3.acemod.org/wiki/development/)
are read, understood and applied.
- Title of this PR uses our standard template `Component -
Add|Fix|Improve|Change|Make|Remove {changes}`.
  • Loading branch information
mazinskihenry authored Feb 19, 2025
1 parent 5c5727b commit fdcde16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/surgery/functions/fnc_pericardialTapLocal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ params ["_medic", "_patient"];
private _ht = _patient getVariable [QEGVAR(circulation,ht), []];
private _effusion = _patient getVariable [QEGVAR(circulation,effusion), 0];

if (((_ht find "tamponade" ) == -1) && (_effusion == 0)) then {
if (_effusion == 0) then {
[_patient] call EFUNC(breathing,createTamponade);
} else {
_ht deleteAt (_ht find "tamponade");
Expand Down

0 comments on commit fdcde16

Please sign in to comment.