Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
mazinskihenry committed Dec 3, 2024
1 parent 2dff344 commit 54c7add
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/breathing/functions/fnc_attachPersonalOxygen.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ _patient setVariable [QGVAR(oxygenMaskStatus), [(_largestTankValue + 1), 1], tru
_args params ["_patient"];

if !((_patient call EFUNC(airway,checkMask))) exitWith {
_patient call kat_breathing_fnc_detatchPersonalOxygen;
_patient call FUNC(detatchPersonalOxygen);
_pfhID call CBA_fnc_removePerFrameHandler;
};

Expand All @@ -70,7 +70,7 @@ _patient setVariable [QGVAR(oxygenMaskStatus), [(_largestTankValue + 1), 1], tru
private _maskStatus = _patient getVariable [QGVAR(oxygenMaskStatus), [0,0]];

if ((_maskStatus select 0) == 0) exitWith {
["Oxygen tank empty", 1.5, _patient] call ACEFUNC(common,displayTextStructured);
[LLSTRING(PersonalOxygen_Empty), 1.5, _patient] call ACEFUNC(common,displayTextStructured);
_pfhID call CBA_fnc_removePerFrameHandler;
};

Expand Down
3 changes: 3 additions & 0 deletions addons/breathing/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2755,6 +2755,9 @@
<Key ID="STR_KAT_Breathing_PersonalOxygen_Remaining">
<English>Minutes Remaining</English>
</Key>
<Key ID="STR_KAT_Breathing_PersonalOxygen_Empty">
<English>Oxygen Tank Empty</English>
</Key>
<Key ID="STR_KAT_Breathing_AttachOxygenVehicle">
<English>Connect to Aircraft Oxygen</English>
</Key>
Expand Down

0 comments on commit 54c7add

Please sign in to comment.