Skip to content

Commit

Permalink
Missing pulse woes
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueTheKing committed Dec 7, 2024
1 parent 1c952d6 commit 4887dde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private _CRT = 4;
private _bloodVolume = GET_BLOOD_VOLUME(_patient);
private _bodyPartString = [ACELSTRING(medical_gui,Torso),ACELSTRING(medical_gui,LeftArm),ACELSTRING(medical_gui,RightArm)] select (_partIndex - 1);

if !(IN_CRDC_ARRST(_patient)) then {
if (HAS_PULSE(_patient)) then {
if (_partIndex in [2,3]) then {
if !(HAS_TOURNIQUET_APPLIED_ON(_patient,_partIndex)) then {
_CRT = linearConversion [5.8, 5.2, _bloodVolume, 2, 4];
Expand Down
2 changes: 1 addition & 1 deletion addons/circulation/functions/fnc_getEKGHeartRate.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if (alive (_patient getVariable [QACEGVAR(medical,CPR_provider), objNull])) exit

private _rhythm = _patient getVariable [QGVAR(Cardiac_RhythmState), ACM_Rhythm_Sinus];

if (!(HAS_PULSE(_patient)) && _rhythm != ACM_Rhythm_PEA) exitWith {0};
if ([_patient] call FUNC(recentAEDShock) || !(alive _patient)) exitWith {0};

switch (_rhythm) do {
case ACM_Rhythm_Asystole: { // Asystole
Expand Down

0 comments on commit 4887dde

Please sign in to comment.