Skip to content

Commit

Permalink
Headers and handleRespawn change
Browse files Browse the repository at this point in the history
  • Loading branch information
mazinskihenry committed Dec 3, 2024
1 parent 540c603 commit 9198441
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion addons/breathing/functions/fnc_checkAircraftOxygen.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* None
*
* Example:
* [player] call kat_breathing_fnc_attachVehicleOxygen;
* [player] call kat_breathing_fnc_checkAircraftOxygen;
*
* Public: No
*/
Expand Down
2 changes: 1 addition & 1 deletion addons/breathing/functions/fnc_checkPersonalOxygen.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* None
*
* Example:
* [player] call kat_breathing_fnc_attachVehicleOxygen;
* [player] call kat_breathing_fnc_checkPersonalOxygen;
*
* Public: No
*/
Expand Down
3 changes: 0 additions & 3 deletions addons/breathing/functions/fnc_fullHealLocal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ _patient setVariable [QGVAR(etco2Monitor), [], true];
_patient setVariable [QGVAR(breathRate), 15, true];
_patient setVariable [QGVAR(nasalCannula), false, true];

_patient setVariable [QGVAR(oxygenMaskActive), false, true];
_patient setVariable [QGVAR(oxygenMaskStatus), [0,0], true];

if (ACEGVAR(advanced_fatigue,enabled)) then {
["kat_LSDF"] call ACEFUNC(advanced_fatigue,removeDutyFactor);
};
3 changes: 3 additions & 0 deletions addons/breathing/functions/fnc_handleRespawn.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ _unit setVariable ["kat_PulseoxiInUse_PFH", nil, true];
_unit setVariable ["kat_O2Breathing_PFH", nil, true];

_unit setVariable [QGVAR(usingStethoscope), nil];

_unit setVariable [QGVAR(oxygenMaskActive), false, true];
_unit setVariable [QGVAR(oxygenMaskStatus), [0,0], true];
3 changes: 3 additions & 0 deletions addons/breathing/functions/fnc_init.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ if !(GVAR(enable)) exitWith {};
_unit setVariable [QGVAR(pulseoximeter), false, true];
_unit setVariable [QGVAR(PulseOximeter_Volume), true, true];
_unit setVariable [QGVAR(PulseOximeter_VolumePatient), false, true];

_unit setVariable [QGVAR(oxygenMaskActive), false, true];
_unit setVariable [QGVAR(oxygenMaskStatus), [0,0], true];

0 comments on commit 9198441

Please sign in to comment.