Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
apo-tle committed Mar 9, 2024
1 parent 73b4649 commit 6708f61
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ DMKR
Nilia
Eughenos
Solbak
Tapawingo
Tapawingo
apo_tle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "..\script_component.hpp"
/*
* Author: Miss Heda
* Author: Miss Heda, edited by apo_tle
* Removing Guedeltubus or KingLT
*
* Arguments:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "..\script_component.hpp"
/*
* Author: Katalam, edited by MiszczuZPolski & Miss Heda
* Author: Katalam, edited by MiszczuZPolski, Miss Heda & apo_tle
* Airway Management for collapsing local
*
* Arguments:
Expand Down
3 changes: 1 addition & 2 deletions addons/breathing/functions/fnc_getETCo2.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ private _hasTptx = _patient getVariable [QGVAR(tensopneumothorax), false];
private _airwayObstructed = _patient getVariable [QEGVAR(airway,obstruction), false] && !(_patient getVariable [QEGVAR(airway,overstretch), false]);
private _airwayOccluded = _patient getVariable [QEGVAR(airway,occluded), false];

private _pharmaOffset = 0; // TODO offset value depending on drugs in circulation
private _phOffset = [0,((floor (_phDiff / 250)))] select (EGVAR(pharma,kidneyAction)); // increase etco2 by 1 per 250 points of pH lost
private _phOffset = [0,(floor (_phDiff / 250))] select (EGVAR(pharma,kidneyAction)); // increase etco2 by 1 per 250 points of pH lost
private _randomOffset = selectRandom [-2,-1,0,1,2];
private _newEtco2 = 0;
switch (true) do {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
_currentMonitors = _patient getVariable [QGVAR(etco2Monitor), []];
_currentMonitors deleteAt (_currentMonitors find "NasalCannula");

_patient setVariable [QGVAR(etco2Monitor),_currentMonitors,true]; //error type any, expected string????
_patient setVariable [QGVAR(etco2Monitor),_currentMonitors,true];
_patient setVariable [QGVAR(nasalCannula),false,true];

[_patient, "activity", LSTRING(Remove_NasalCannula_Log), [[_medic] call ACEFUNC(common,getName)]] call ACEFUNC(medical_treatment,addToLog);
Expand Down

0 comments on commit 6708f61

Please sign in to comment.