Skip to content

Commit

Permalink
Vitals - Fix ETCO2 Variables (#721)
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}`.

---------

Co-authored-by: MiszczuZPolski <[email protected]>
  • Loading branch information
mazinskihenry and MiszczuZPolski authored Jan 27, 2025
1 parent fe0d2b5 commit 4722916
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/circulation/functions/fnc_AEDX_ViewMonitor_CPR.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ private _dlg = uiNamespace getVariable ["KAT_Circulation_AEDX_Monitor_Display",
(_dlg displayCtrl IDC_DISPLAY_SPO2_TITLE) ctrlSetText "---";
};

private _hasEtco2Monitor = !(GVAR(AEDX_MonitorTarget) getVariable [QEGVAR(breathing,etco2Monitor),[]] isEqualTo []);
private _etco2 = GET_ETCO2(GVAR(AEDX_MonitorTarget));
private _breathrate = GET_BREATHING_RATE(GVAR(AEDX_MonitorTarget));
private _hasEtco2Monitor = !(GVAR(AEDX_MonitorTarget_Title) getVariable [QEGVAR(breathing,etco2Monitor),[]] isEqualTo []);
private _etco2 = GET_ETCO2(GVAR(AEDX_MonitorTarget_Title));
private _breathrate = GET_BREATHING_RATE(GVAR(AEDX_MonitorTarget_Title));

if (_hasEtco2Monitor) then {
(_dlg displayCtrl IDC_DISPLAY_RR_DEFAULT_TITLE) ctrlShow false;
Expand Down

0 comments on commit 4722916

Please sign in to comment.