Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cplhardcore committed Sep 13, 2024
1 parent 3ac8689 commit 8917c16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

params ["_patient", "_classname"];
if (_classname isEqualTo syringe_kat_atropine_5ml_1) exitwith {};
if (_classname isEqualTo syringe_kat_atropine_5ml_1) exitWith {};

_patient setVariable [QGVAR(airPoisoning), false, true];
_patient setVariable [QGVAR(isTreated), true, true];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

params ["_patient", "_classname"];

if (_classname isEqualTo syringe_kat_atropine_5ml_2) exitwith {};
if (_classname isEqualTo syringe_kat_atropine_5ml_2) exitWith {};

private _medicationArray = _patient getVariable [QACEGVAR(medical,medications), []];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,5 @@ if ((_classname isEqualTo syringe_kat_ketamine_5ml_2) || (_classname isEqualTo s
_patient setVariable [QEGVAR(surgery,sedated), true, true];
[_patient, true] call ACEFUNC(medical,setUnconscious);

[[_patient setVariable [QEGVAR(surgery,sedated), false, true]
[_patient, false] call ACEFUNC(medical,setUnconscious)], 90] call CBA_fnc_waitAndExecute;
[[_patient setVariable [QEGVAR(surgery,sedated), false, true]], 90] call CBA_fnc_waitAndExecute;
};

0 comments on commit 8917c16

Please sign in to comment.